Skip to content

WavelengthSpectrumNode

Overview

WavelengthSpectrumNode displays a rectangle of the visible spectrum.

@author Chris Malley (PixelZoom, Inc.) @author Sam Reid (PhET Interactive Simulations)

Class WavelengthSpectrumNode

import { WavelengthSpectrumNode } from 'scenerystack/scenery-phet';

Constructor

new WavelengthSpectrumNode( providedOptions? : WavelengthSpectrumNodeOptions )

Instance Methods

Type WavelengthSpectrumNodeOptions

import type { WavelengthSpectrumNodeOptions } from 'scenerystack/scenery-phet';

Source Code

See the source for WavelengthSpectrumNode.ts in the scenery-phet repository.