Interactive 2D wave optics simulator. Turn any image into a refractive scene, add sources, watch waves refract, diffract and interfere. Probes, intensity maps, video export.
Figures
Generated by _tools/ui_check/Screenshots.ps1; under each figure, what its numbered badges mark, each with the control's tooltip where it has one.
The main window
The main window with the example project at frame 1200.
- Menu bar
- Project pane: the tree of the project's objects
- Properties pane: the selected object's form
- Field picture
- Intensity picture
- Header strip of a picture: title, brightness, Auto
Gain applied to the values before the colour lookup. - Timeline
Click or drag to scrub; drag a bracket to move the start or end of the export range. Left/Right step a frame, PageUp/PageDown ten, Home/End jump to the start/end of the range - Transport controls, position readout, speed, layout
Frame shown / last frame - Status bar
The project tree
The Project pane with the example project.
- Pane title
- Add a source
Add a source (appended at the end) - Add a probe
Add a probe (appended at the end) - Add a part (a menu of the kinds)
Add an optical part (a menu of kinds; appended at the end) - Move the selected object up
Move up (Alt+Up); drag to reorder - Move the selected object down
Move down (Alt+Down); drag to reorder - Remove the selected object
Remove (Del) - Project: the root row
- Scene
- Simulation
- Display
- Sources group
- Expand or collapse a group
- Add to this group
Add an item to this folder - Enabled
Include the source in runs (Space on the row toggles it) - Move up
Move up (Alt+Up); drag to reorder - Move down
Move down (Alt+Down); drag to reorder - Remove
Remove (Del) - Parts group
- Probes group
- Colour schemes group
The preview
The preview: field and intensity pictures of the example project at frame 1200.
- Field picture
- Brightness of the field picture
Gain applied to the values before the colour lookup. - Auto brightness (fit to the frame shown)
Fit the brightness once to the frame shown: the brightest half percent of it reaches the top of the colour scheme. The brightness then stays as it is. - Intensity picture
- Brightness of the intensity picture
Gain applied to the values before the colour lookup. - Auto brightness of the intensity picture
Fit the brightness once to the frame shown: the brightest half percent of it reaches the top of the colour scheme. The brightness then stays as it is. - Splitter between the pictures
Drag or use the arrow keys to resize; double-click or Enter resets to half - Source handle (Vertical source)
Vertical source: drag to move; with keyboard focus the arrow keys move it by a pixel, ten with Shift - Part handle (Mirror background)
Mirror background: drag to move; with keyboard focus the arrow keys move it by a pixel, ten with Shift - Probe handle (Field amplitude diagonal left box, end A)
Field amplitude diagonal left box: drag to move; with keyboard focus the arrow keys move it by a pixel, ten with Shift - Probe graph box (Field amplitude diagonal left box)
Graph of Field amplitude diagonal left box: drag to move the box; with keyboard focus the arrow keys move it by a pixel, ten with Shift
The timeline
The timeline with the playhead and the in and out points, and the transport controls.
- Playhead: the position shown
- In point
- Out point
- Run the simulation
Run the simulation from the start (F5) - Pause the simulation
Pause the simulation (F6) - Play
Play (Space) - Pause
Pause (Space) - One frame back
Previous frame (,) - One frame forward
Next frame (.) - Set the in point
Start the export range at this frame (I) - Set the out point
End the export range at this frame (O) - Clear the in and out points
Clear the export range: the whole run is exported (X) - Loop
Loop playback over the export range (L) - Live: follow a running run
Follow the newest frame while the run is in progress (F) - Position: frame of frames
Frame shown / last frame - Step of the position
Simulation step of the frame shown - Playback speed
Playback speed: pick a factor or type one - Show the field
Show the field picture - Show the intensity
Show the intensity picture - Pictures side by side
Field and intensity side by side - Pictures stacked
Field above intensity
The File menu
The File menu.
- New Project
- Open Project...
- Recent Projects
- Examples
- Save
- Save As...
- Export
- Export last
- Close Project
- Exit
The Edit menu
The Edit menu.
- Undo
- Redo
- Cut
- Copy
- Paste
- Delete
- Select all
The View menu
The View menu.
- Panes
- Theme
- UI zoom
- Language
- Preview resolution
- Preview frames
- Preview samples
- Preview dithering
The Simulation menu
The Simulation menu.
- Run
- Pause
- Stop
- Play
- Use the GPU (OpenCL)
- Re-run automatically after edits
- Warn when a run does not fit in RAM
- RAM cache size
The Help menu
The Help menu.
- About WaveDude Next
- Manual
File > Export
The File > Export submenu.
- Export field...
- Export intensity...
- Export both...
- Export field frame...
- Export intensity frame...
File > Examples
The File > Examples submenu: the shipped example projects.
- 1. Source Mirror Probe
Simple omnidirectional pulsed source with a smoothed square intensity profile, reflecting of simple mirror surface. A probe measures the intensity profile near the surface. - 2. Coherent source gaussian beam
Featuring a 21 x 7 composite source that emits a continuous gaussian beam - 3. Directional pulsed source
Featuring a coherent pulsed assembly of sources that emits a directional stream of wave pulses. - 4. 3 sources 3 frequencies
Geometric wave pattern resulting from 3 sources with different frequencies - 5. Small incoherent source
Simulation features a small (5x5 composite) source using randomized "off"-time and source frequency. - 6. Large incoherent source
Featuring a large (450+ composite) source that creates both spatially- as well as temporally incoherent wave emission. The probes show that even though the intensity variations are large for an incoherent source, they eventually average out over time. Probe 2 shows the 1/r relationship. where r= distance to the source. - 7. Random emitter lattice
Collection of 800+ sources distributed over the full animation space and emitting short random wave pulses with a varying frequency. - 8. Resonant wave in cavity
Wave energy released at the center of a cavity at almost the resonance frequency. - 9. Laplacian dispersion
Visualization of dispersion (wavelength-dependent propagation speed) when using a third order Laplacian. To remove the dispersion, check the 4th order Laplacian checkbox under "Simulation". - 10. Beam expansion
A beam expander using a GRIN lens and a large confocal lens. - 11. Zone plate
One source and a zone plate - 12. Pulse splitter
Short coherent pulse divided by a beam splitter - 13. Bragg reflector
Demo of a Bragg reflector. The layer thickness of each layer should be 1/4 lambda divided by the refractive index of the specific layer. However, reflectivity is strongly angle dependent. - 14. Resonant roundabout
Resonant roundabout with two sources and two exits. If you change the phase of one of the sources by 180 degrees, waves will take the other exit. - 15. Top up the tank
Filling a tank with radiative energy - 16. Wave in 2 boxes
Two boxes connected by a small pipe that allows for wave energy to flow from left to right (and back). - 17. Hanbury Brown Twiss
Switch on the small source and the two telescopes will see highly correlated signals. Switch on the large source and the correlation disappears. This is a demonstration of the area of coherence as can be measured in the HBT experiment to measure the ratio between the diameter and the distance of a star. - 18. XOR AND OR logic
3 logical wave gates chained together - 19. Sources with spherical mirror
Wave pulse emitted from the center of the curvature of a mirror, reflecting and then returning to the point of emission. Featuring timed probes. Notice that this simulation runs extremely fast on the GPU, when no video export is selected. - 20. Test glass
The simulation shows the interference pattern created between two high-refractive index surfaces in close proximity of each other under a small angle. - 21. Ball lens
Continuous point source and high refractive index ball lens. Probe 2A-B features 1/r intensity decay from the source with some interference of some reflections superimposed on it. - 22. Coherence and ball lens
A coherent and directional source directing its waves at a ball lens with a high refractive index. It demonstrates Gaussian beam and Airy disk profiles - 23. Fibres
Simulation of 3 different fibres:
- Top: single mode fibre
- Middle: narrow multi-mode fibre
- Bottom: wide multi-mode fibre Includes the use of two probes, an A-B (line) field probe and a single point intensity probe.
- 24. Fibre cross over
Two single-mode fibres side by side, their cores a dozen pixels apart: the evanescent field of one reaches into the other, so light launched into fibre A crosses over into fibre B and back along the length, a directional coupler. The probe along A shows the beating, the cross-fibre probe the field across both cores. Switch source A off and B on to launch from the other fibre.
The Add part menu
The Add part menu of the project tree: the kinds of optical parts.
- Lens/Mirror
A lens or a mirror: a strip of the diameter between two spherical surfaces, each bulging outward, flat or hollow by the sign of its radius, the centre thickness apart. As a mirror it reflects everything; as a lens it refracts by its index, with an anti-reflection coating and absorption if wanted. - Fibre
A fibre: a core of higher index inside a cladding, along a smooth path of Bézier segments through its nodes, with flat or round ends. A wave coupled into the core is guided along the path; the cladding can absorb stray light at its rim. - Bragg reflector
A Bragg reflector: pairs of layers of two indices stacked along the axis. It reflects strongly around the wavelength the layer thicknesses are tuned to, a quarter wave each, and passes others. - GRIN lens
A gradient-index lens: a rectangle whose index falls from the axis to the edge in a parabolic profile, so it focuses like a lens with flat faces. - Zone plate
A zone plate: Fresnel zones cut for a design frequency and a focal length, every second zone an absorbing block, the central zone open or, inverted, a block. It focuses by diffraction; an optional mount stops light passing outside the diameter. - Polygon
A regular polygon of glass or mirror, by its number of sides and the side length. - Rectangle
A rectangle of glass or mirror, by length and width; linked, a square. A flat mirror is a long, narrow one. - Ellipse
An ellipse of glass or mirror, by the length and width of its box; linked, a circle. - Triangle
A triangle of glass or mirror: the base across the axis, the apex along it, the base angles set by a preset or by hand. - Outline
A free outline of glass or mirror: a closed shape through the points you place and drag; fewer than three paint nothing. - Optical logic
Add part > Optical logic
The Optical logic submenu of the Add part menu: the gates.
- XOR (Mach-Zehnder)
An optical XOR gate: two input waveguides, a phase section putting the lower input a quarter period ahead, and a coupler whose upper output carries their difference. It lights when one input is lit, not both, for coherent inputs at the design frequency. - AND
An optical AND gate: the same coupler with the lower input a quarter period behind, so the upper output carries the sum. It is brightest with both inputs lit, about four times a single one; a passive linear gate has no truer AND. - OR
An optical OR gate: the same coupler with the lower input a twelfth of a period ahead, so the upper output carries half the power of either input and of both. It lights with one input or both.
Project
The project's own properties.
- Format version
Version of the project file format. - Random seed
- Description
Free-text notes about the project. - New seed: a fresh random seed
Scene
The Scene form (an image scene).
- Mode
Blank canvas of the given size, or a canvas built from the scene image. - Scene image
Image the canvas is built from: red = refractive index (red 0 = a mirror), green = sources, blue = damping. The name of the embedded image, or a path relative to the project folder. - Image file
Where the embedded image came from; the embedded image is what is simulated, a missing file changes nothing. The file is watched while the project is open and re-embedded when it changes; on opening the project a changed file replaces the embedded image too. - Embedded image
Size of the embedded scene image; the canvas takes this size - Width
Width of a blank canvas in pixels. - Height
Height of a blank canvas in pixels. - Edges
Open lets a wave leave the grid, as if the canvas sat in open space; Reflective is a hard wall, as in Wave Dude 2D. - Damping edge
Thickness in pixels of the absorbing frame: positive inside the canvas, where it shows as a dark margin; negative outside it, simulated but never shown. 0 turns it off. - Refractive index
Refractive index of a blank canvas, 1.0 to 2.55. The wave speed is 1/n cells per step. - Image sources
Let the green channel of the scene image emit waves; the pixel value is the frequency level. - Image source amplitude
Peak amplitude of the image sources. - Object sources
Use the sources defined in the project. - The image buttons: the dots pick an image file, the save glyph writes the embedded image out, the X drops it
Pick an image file; it is embedded in the project
Simulation
The Simulation form.
- Steps
Total number of simulation steps. - Visualize every
Render a frame, export it and sample the probes every this many steps. - 4th-order Laplacian
Use the 4th-order stencil with sub-stepping instead of the 9-point stencil. More accurate, slower. - Wave speed
Nominal wave speed in pixels per step; only used to estimate wavelengths in the editor. - Intensity time decay
Averaging window factor of the intensity: the engine averages over this × 100 / lowest source level steps. - Source frequency scale
Multiplier of the level-to-frequency mapping: ω = level / 255 × 0.5 × scale, in radians per step. - Intensity scale
Multiplier applied to the intensity values the engine produces.
Display
The Display form.
- Colour scheme
Name of the colour scheme mapped onto the values. - Brightness
Gain applied to the values before the colour lookup. - Black level
Offset applied before the colour lookup; values at or below it map to the first colour. - Preview
Show this output in the live preview. - Outline in the preview
Lay the scene image's glowing-edges outline over this output in the preview. - Outline brightness
Multiplier of the outline: 1 as computed, higher lifts faint edges, 0 hides it. - Outline in the export
Bake the outline into exported frames and videos of this output. - Colour scheme
Name of the colour scheme mapped onto the values. - Brightness
Gain applied to the values before the colour lookup. - Black level
Offset applied before the colour lookup; values at or below it map to the first colour. - Preview
Show this output in the live preview. - Outline in the preview
Lay the scene image's glowing-edges outline over this output in the preview. - Outline brightness
Multiplier of the outline: 1 as computed, higher lifts faint edges, 0 hides it. - Outline in the export
Bake the outline into exported frames and videos of this output. - Handles in the preview
Show the handles, lines, emitter dots and levers of every source, part and probe over the preview pictures. A selected object shows its own either way. - Labels in the preview
Show the names beside the handles over the preview pictures. A selected object shows its own either way. - From step
First simulation step of the exported range; 0 is the start of the run. - To step
Last simulation step of the exported range; 0 means the end of the run. - Probe graphs in the export
Draw the probes' graph boxes over exported frames and videos. - Probe markers in the export
Draw the probes' positions (crosses, the line of a line probe, the number) over exported frames and videos. - Source markers in the export
Draw the enabled sources (the marker, a composite source's emitter dots, the name) over exported frames and videos. - Frame rate
Frames per second of the exported video. - Quality
Encoder quality, 1 to 100.
Source
A point source.
- Name
Name shown in the project tree and on the canvas. - Enabled
Include the source in simulation runs. - X
X of the emitter, or of the array centre, in canvas pixels. - Y
Y of the emitter, or of the array centre, in canvas pixels. - Frequency
Frequency as a level up to 255, decimals allowed, the same scale as the green channel of image sources. Above 255 the grid cannot sample the wave. - Amplitude
Amplitude in percent, 0 to 100, decimals allowed. - Phase
Phase offset in degrees, -180 to 180. - Wavelength
Estimated from the wave speed and the frequency (λ = c / f): emitters one wavelength apart radiate in phase along that direction. Holds for the 4th-order Laplacian; the 9-point stencil's speed varies with the frequency - Mode
Emit continuously or in bursts. - Pulse shape
Envelope of each burst; pulsed mode only. - Pulse width
Length of each burst in cycles of the source frequency; pulsed mode only. - Off width
Length of the gap between bursts in cycles; pulsed mode only. - Detach after step
Simulation step at which the source fades out; -1 keeps it on for the whole run. - Composite source
Emit from an array of emitters instead of a single point. - Columns
Number of emitters across. Odd counts keep the centre emitter on the source position. - Rows
Number of emitters down. - Horizontal spacing
Distance between neighbouring columns in canvas pixels. - Vertical spacing
Distance between neighbouring rows in canvas pixels. - Rotation
Rotation of the grid about the source position in degrees, counter-clockwise on the screen. 0 keeps the rows horizontal. - Frequency
Each emitter's level is offset by up to ± this amount. 0 turns it off. - Phase
Each emitter's phase is offset by up to ± this many degrees. 0 turns it off. - Off width
Each gap between bursts is offset by up to ± this many cycles, re-drawn every period. 0 turns it off. - Position
Each emitter is moved by up to ± this many pixels in X and in Y. 0 turns it off.
Composite source
A composite (array) source, pulsed.
- Name
Name shown in the project tree and on the canvas. - Enabled
Include the source in simulation runs. - X
X of the emitter, or of the array centre, in canvas pixels. - Y
Y of the emitter, or of the array centre, in canvas pixels. - Frequency
Frequency as a level up to 255, decimals allowed, the same scale as the green channel of image sources. Above 255 the grid cannot sample the wave. - Amplitude
Amplitude in percent, 0 to 100, decimals allowed. - Phase
Phase offset in degrees, -180 to 180. - Wavelength
Estimated from the wave speed and the frequency (λ = c / f): emitters one wavelength apart radiate in phase along that direction. Holds for the 4th-order Laplacian; the 9-point stencil's speed varies with the frequency - Mode
Emit continuously or in bursts. - Pulse shape
Envelope of each burst; pulsed mode only. - Pulse width
Length of each burst in cycles of the source frequency; pulsed mode only. - Off width
Length of the gap between bursts in cycles; pulsed mode only. - Detach after step
Simulation step at which the source fades out; -1 keeps it on for the whole run. - Composite source
Emit from an array of emitters instead of a single point. - Columns
Number of emitters across. Odd counts keep the centre emitter on the source position. - Rows
Number of emitters down. - Horizontal spacing
Distance between neighbouring columns in canvas pixels. - Vertical spacing
Distance between neighbouring rows in canvas pixels. - Rotation
Rotation of the grid about the source position in degrees, counter-clockwise on the screen. 0 keeps the rows horizontal. - Frequency
Each emitter's level is offset by up to ± this amount. 0 turns it off. - Phase
Each emitter's phase is offset by up to ± this many degrees. 0 turns it off. - Off width
Each gap between bursts is offset by up to ± this many cycles, re-drawn every period. 0 turns it off. - Position
Each emitter is moved by up to ± this many pixels in X and in Y. 0 turns it off.
Lens
A lens or a mirror: a strip of the diameter between two spherical surfaces, each bulging outward, flat or hollow by the sign of its radius, the centre thickness apart. As a mirror it reflects everything; as a lens it refracts by its index, with an anti-reflection coating and absorption if wanted.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Mirror
Make the part a mirror instead of a lens. The refractive index, the coating and the absorption are ignored then. - Refractive index
Refractive index of the glass, 1.00 to 2.55 in steps of 0.01. - AR coating
Thickness in pixels of the anti-reflection band just inside the outline; 0 for none. A quarter-wave layer is λ / (4 √n) pixels thick, λ being the wavelength the source form shows; a graded band is the better the thicker, from a wavelength on. - Coating profile
How the index runs through the band: a layer at √n, the quarter-wave idea, or a graded rise from the medium outside to the glass. A graded band reflects less than a layer once it is a wavelength thick or more, at any wavelength; a layer only at the wavelength it is cut for. - Coat the front
Put the band on the front: the faces turned toward a source on the left, a lens's first surface. Clear it to leave them bare, as the inner faces of a cavity are. - Coat the back
Put the band on the back: the faces turned away from a source on the left, a lens's second surface. Clear it to leave them bare. - Coat the sides
Put the band on the sides: the faces that are neither front nor back, a lens's rim, a slab's narrow ends. Clear it to leave them bare. - Absorption
How strongly the part absorbs waves, 0 (not at all) to 255, as the scene image's blue channel. It rises from nothing at the outline over the absorption ramp, so a wave enters the part instead of being reflected. A mirror ignores it. - Absorption ramp
Depth in pixels over which the absorption rises from nothing at the outline to its full value; the longer, the less of a wave is reflected. A part thinner than twice the ramp reaches its full absorption in its middle. - Diameter
Extent across the axis in pixels. - Concave (diverging)
Whether the lens diverges, its surfaces curving inward. Ticking it turns the lens around by flipping the sign of both radii; a flat surface stays flat. - R1
Radius of the first surface in pixels: positive bulges outward, negative is concave, 0 is flat. A radius too curved for the diameter and the centre thickness is raised to the smallest that fits. - R2
Radius of the second surface in pixels: negative bulges outward, positive is concave, 0 is flat. A radius too curved for the diameter and the centre thickness is raised to the smallest that fits. - Centre thickness
Distance between the two surfaces on the axis in pixels. - Edge thickness
Thickness at the rim: the centre thickness less what the convex surfaces take, plus what the concave ones add; 0 when the surfaces meet at the rim
Polygon
A regular polygon of glass or mirror, by its number of sides and the side length.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Mirror
Make the part a mirror instead of glass. The refractive index, the coating and the absorption are ignored then. - Refractive index
Refractive index of the glass, 1.00 to 2.55 in steps of 0.01. - AR coating
Thickness in pixels of the anti-reflection band just inside the outline; 0 for none. A quarter-wave layer is λ / (4 √n) pixels thick, λ being the wavelength the source form shows; a graded band is the better the thicker, from a wavelength on. - Coating profile
How the index runs through the band: a layer at √n, the quarter-wave idea, or a graded rise from the medium outside to the glass. A graded band reflects less than a layer once it is a wavelength thick or more, at any wavelength; a layer only at the wavelength it is cut for. - Coat the front
Put the band on the front: the faces turned toward a source on the left, a lens's first surface. Clear it to leave them bare, as the inner faces of a cavity are. - Coat the back
Put the band on the back: the faces turned away from a source on the left, a lens's second surface. Clear it to leave them bare. - Coat the sides
Put the band on the sides: the faces that are neither front nor back, a lens's rim, a slab's narrow ends. Clear it to leave them bare. - Absorption
How strongly the part absorbs waves, 0 (not at all) to 255, as the scene image's blue channel. It rises from nothing at the outline over the absorption ramp, so a wave enters the part instead of being reflected. A mirror ignores it. - Absorption ramp
Depth in pixels over which the absorption rises from nothing at the outline to its full value; the longer, the less of a wave is reflected. A part thinner than twice the ramp reaches its full absorption in its middle. - Number of sides
Number of sides, 3 to 64. - Side length
Length of each side in pixels.
Rectangle
A rectangle of glass or mirror, by length and width; linked, a square. A flat mirror is a long, narrow one.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Mirror
Make the part a mirror instead of glass. The refractive index, the coating and the absorption are ignored then. - Refractive index
Refractive index of the glass, 1.00 to 2.55 in steps of 0.01. - AR coating
Thickness in pixels of the anti-reflection band just inside the outline; 0 for none. A quarter-wave layer is λ / (4 √n) pixels thick, λ being the wavelength the source form shows; a graded band is the better the thicker, from a wavelength on. - Coating profile
How the index runs through the band: a layer at √n, the quarter-wave idea, or a graded rise from the medium outside to the glass. A graded band reflects less than a layer once it is a wavelength thick or more, at any wavelength; a layer only at the wavelength it is cut for. - Coat the front
Put the band on the front: the faces turned toward a source on the left, a lens's first surface. Clear it to leave them bare, as the inner faces of a cavity are. - Coat the back
Put the band on the back: the faces turned away from a source on the left, a lens's second surface. Clear it to leave them bare. - Coat the sides
Put the band on the sides: the faces that are neither front nor back, a lens's rim, a slab's narrow ends. Clear it to leave them bare. - Absorption
How strongly the part absorbs waves, 0 (not at all) to 255, as the scene image's blue channel. It rises from nothing at the outline over the absorption ramp, so a wave enters the part instead of being reflected. A mirror ignores it. - Absorption ramp
Depth in pixels over which the absorption rises from nothing at the outline to its full value; the longer, the less of a wave is reflected. A part thinner than twice the ramp reaches its full absorption in its middle. - Length
Extent along the axis in pixels. - Width
Extent across the axis in pixels. - Linked: the chain keeps the width equal to the length
Keep the width equal to the length: a square.
Ellipse
An ellipse of glass or mirror, by the length and width of its box; linked, a circle.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Mirror
Make the part a mirror instead of glass. The refractive index, the coating and the absorption are ignored then. - Refractive index
Refractive index of the glass, 1.00 to 2.55 in steps of 0.01. - AR coating
Thickness in pixels of the anti-reflection band just inside the outline; 0 for none. A quarter-wave layer is λ / (4 √n) pixels thick, λ being the wavelength the source form shows; a graded band is the better the thicker, from a wavelength on. - Coating profile
How the index runs through the band: a layer at √n, the quarter-wave idea, or a graded rise from the medium outside to the glass. A graded band reflects less than a layer once it is a wavelength thick or more, at any wavelength; a layer only at the wavelength it is cut for. - Coat the front
Put the band on the front: the faces turned toward a source on the left, a lens's first surface. Clear it to leave them bare, as the inner faces of a cavity are. - Coat the back
Put the band on the back: the faces turned away from a source on the left, a lens's second surface. Clear it to leave them bare. - Coat the sides
Put the band on the sides: the faces that are neither front nor back, a lens's rim, a slab's narrow ends. Clear it to leave them bare. - Absorption
How strongly the part absorbs waves, 0 (not at all) to 255, as the scene image's blue channel. It rises from nothing at the outline over the absorption ramp, so a wave enters the part instead of being reflected. A mirror ignores it. - Absorption ramp
Depth in pixels over which the absorption rises from nothing at the outline to its full value; the longer, the less of a wave is reflected. A part thinner than twice the ramp reaches its full absorption in its middle. - Length
Diameter along the axis in pixels. - Width
Diameter across the axis in pixels. - Linked: the chain keeps the width equal to the length
Keep the width equal to the length: a circle.
Triangle
A triangle of glass or mirror: the base across the axis, the apex along it, the base angles set by a preset or by hand.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Mirror
Make the part a mirror instead of glass. The refractive index, the coating and the absorption are ignored then. - Refractive index
Refractive index of the glass, 1.00 to 2.55 in steps of 0.01. - AR coating
Thickness in pixels of the anti-reflection band just inside the outline; 0 for none. A quarter-wave layer is λ / (4 √n) pixels thick, λ being the wavelength the source form shows; a graded band is the better the thicker, from a wavelength on. - Coating profile
How the index runs through the band: a layer at √n, the quarter-wave idea, or a graded rise from the medium outside to the glass. A graded band reflects less than a layer once it is a wavelength thick or more, at any wavelength; a layer only at the wavelength it is cut for. - Coat the front
Put the band on the front: the faces turned toward a source on the left, a lens's first surface. Clear it to leave them bare, as the inner faces of a cavity are. - Coat the back
Put the band on the back: the faces turned away from a source on the left, a lens's second surface. Clear it to leave them bare. - Coat the sides
Put the band on the sides: the faces that are neither front nor back, a lens's rim, a slab's narrow ends. Clear it to leave them bare. - Absorption
How strongly the part absorbs waves, 0 (not at all) to 255, as the scene image's blue channel. It rises from nothing at the outline over the absorption ramp, so a wave enters the part instead of being reflected. A mirror ignores it. - Absorption ramp
Depth in pixels over which the absorption rises from nothing at the outline to its full value; the longer, the less of a wave is reflected. A part thinner than twice the ramp reaches its full absorption in its middle. - Type
Equilateral, right isosceles (the 45° prism), 30-60-90, isosceles with one typed angle, or custom with both typed. - Base
Length of the base in pixels; the base lies across the axis, toward a source on the left. - Angle A
Base angle at the first end of the base, in degrees. Typed for the isosceles and custom types; the presets fix it. - Angle B
Base angle at the second end of the base, in degrees. Typed for the custom type; the others fix it. - Apex angle
The angle at the apex: 180° minus the two base angles
Outline
A free outline of glass or mirror: a closed shape through the points you place and drag; fewer than three paint nothing.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Mirror
Make the part a mirror instead of glass. The refractive index, the coating and the absorption are ignored then. - Refractive index
Refractive index of the glass, 1.00 to 2.55 in steps of 0.01. - AR coating
Thickness in pixels of the anti-reflection band just inside the outline; 0 for none. A quarter-wave layer is λ / (4 √n) pixels thick, λ being the wavelength the source form shows; a graded band is the better the thicker, from a wavelength on. - Coating profile
How the index runs through the band: a layer at √n, the quarter-wave idea, or a graded rise from the medium outside to the glass. A graded band reflects less than a layer once it is a wavelength thick or more, at any wavelength; a layer only at the wavelength it is cut for. - Coat the front
Put the band on the front: the faces turned toward a source on the left, a lens's first surface. Clear it to leave them bare, as the inner faces of a cavity are. - Coat the back
Put the band on the back: the faces turned away from a source on the left, a lens's second surface. Clear it to leave them bare. - Coat the sides
Put the band on the sides: the faces that are neither front nor back, a lens's rim, a slab's narrow ends. Clear it to leave them bare. - Absorption
How strongly the part absorbs waves, 0 (not at all) to 255, as the scene image's blue channel. It rises from nothing at the outline over the absorption ramp, so a wave enters the part instead of being reflected. A mirror ignores it. - Absorption ramp
Depth in pixels over which the absorption rises from nothing at the outline to its full value; the longer, the less of a wave is reflected. A part thinner than twice the ramp reaches its full absorption in its middle. - X
- A point: X, Y, remove
Remove this point - Add a point
Append a point after the last one
Fibre
A fibre: a core of higher index inside a cladding, along a smooth path of Bézier segments through its nodes, with flat or round ends. A wave coupled into the core is guided along the path; the cladding can absorb stray light at its rim.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Core index
Refractive index of the core, 1.00 to 2.55 in steps of 0.01. - Core diameter
Diameter of the core in pixels. - Cladding index
Refractive index of the cladding, 1.00 to 2.55 in steps of 0.01. Below the core's index, the fibre guides. - Cladding thickness
Thickness of the cladding around the core in pixels; 0 for a bare core. - Cladding absorption
Peak absorption of the cladding's absorbing band, 0 (not at all) to 255, as the scene image's blue channel: a hump in the outer part of the cladding, rising over the band width from nothing, peaking, and falling to nothing at the outer edge, so the guided wave's tail stays untouched and stray light is absorbed from either side. Nothing on a bare core. - Absorption band
Half the absorbing band's width in pixels: the absorption rises over this many pixels to its peak and falls over as many to the outer edge. A band wider than the cladding is squeezed into it. - AR coating
Thickness in pixels of the anti-reflection band just inside the outer boundary and the end faces; 0 for none. A quarter-wave layer is λ / (4 √n) pixels thick, λ being the wavelength the source form shows; a graded band is the better the thicker, from a wavelength on. - Coating profile
How the index runs through the band: a layer at √n, the quarter-wave idea, or a graded rise from the medium outside to the glass. A graded band reflects less than a layer once it is a wavelength thick or more, at any wavelength; a layer only at the wavelength it is cut for. - Coat the front
Put the band on the front: the faces turned toward a source on the left, a lens's first surface. Clear it to leave them bare, as the inner faces of a cavity are. - Coat the back
Put the band on the back: the faces turned away from a source on the left, a lens's second surface. Clear it to leave them bare. - Coat the sides
Put the band on the sides: the faces that are neither front nor back, a lens's rim, a slab's narrow ends. Clear it to leave them bare. - Ends
How the two ends are cut: flat, straight across the path like a cleaved fibre, or rounded with the outer radius. The AR coating follows a flat end face. - Node
X relative to the part's centre in canvas pixels, before rotation. - In
X of the in-handle relative to the node, in canvas pixels before rotation. It shapes the segment arriving from the previous node; zero makes that segment straight at this end. - Out
X of the out-handle relative to the node, in canvas pixels before rotation. It shapes the segment leaving to the next node; zero makes that segment straight at this end. - Node
X relative to the part's centre in canvas pixels, before rotation. - In
X of the in-handle relative to the node, in canvas pixels before rotation. It shapes the segment arriving from the previous node; zero makes that segment straight at this end. - Out
X of the out-handle relative to the node, in canvas pixels before rotation. It shapes the segment leaving to the next node; zero makes that segment straight at this end. - Per node: smooth, remove
Remove this node - Add a node
Append a node beyond the last one, continuing the path
Bragg reflector
A Bragg reflector: pairs of layers of two indices stacked along the axis. It reflects strongly around the wavelength the layer thicknesses are tuned to, a quarter wave each, and passes others.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Layer pairs
Number of layer pairs, 1 to 200. - Thickness 1
Thickness of the first layer of each pair in pixels. A quarter-wave layer is λ / (4 n) pixels thick. - Index 1
Refractive index of the first layer of each pair, 1.00 to 2.55 in steps of 0.01. - Thickness 2
Thickness of the second layer of each pair in pixels. A quarter-wave layer is λ / (4 n) pixels thick. - Index 2
Refractive index of the second layer of each pair, 1.00 to 2.55 in steps of 0.01. - Width
Extent of the stack across the axis in pixels.
GRIN lens
A gradient-index lens: a rectangle whose index falls from the axis to the edge in a parabolic profile, so it focuses like a lens with flat faces.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Centre index
Refractive index on the axis, 1.00 to 2.55 in steps of 0.01. - Edge index
Refractive index at the edge, 1.00 to 2.55 in steps of 0.01. The profile between the axis and the edge is parabolic. - AR coating
Thickness in pixels of the anti-reflection band just inside the outline; 0 for none. A quarter-wave layer is λ / (4 √n) pixels thick, λ being the wavelength the source form shows; a graded band is the better the thicker, from a wavelength on. - Coating profile
How the index runs through the band: a layer at √n, the quarter-wave idea, or a graded rise from the medium outside to the glass. A graded band reflects less than a layer once it is a wavelength thick or more, at any wavelength; a layer only at the wavelength it is cut for. - Coat the front
Put the band on the front: the faces turned toward a source on the left, a lens's first surface. Clear it to leave them bare, as the inner faces of a cavity are. - Coat the back
Put the band on the back: the faces turned away from a source on the left, a lens's second surface. Clear it to leave them bare. - Coat the sides
Put the band on the sides: the faces that are neither front nor back, a lens's rim, a slab's narrow ends. Clear it to leave them bare. - Length
Extent along the axis in pixels. - Diameter
Extent across the axis in pixels.
XOR gate
An optical XOR gate: two input waveguides, a phase section putting the lower input a quarter period ahead, and a coupler whose upper output carries their difference. It lights when one input is lit, not both, for coherent inputs at the design frequency.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Design frequency
The source frequency the gate is designed for, on the same scale as a source's frequency: the frequency of the sources that drive it. The wavelength, and from it the core width, the coupler and the phase section, follow from it, so the gate works at this frequency only. - Wavelength
The wavelength the design frequency gives in a medium of index 1, with the simulation's source frequency scale - Core index
Refractive index of the waveguide cores, 1.00 to 2.55 in steps of 0.01. It must be above the cladding's; the larger the difference, the narrower the cores and the tighter the bends. - Cladding index
Refractive index of the cladding around the cores, 1.00 to 2.55 in steps of 0.01. - AR coating
Thickness in pixels of the anti-reflection band at the ends ticked below, with the index √n of the core and of the cladding; 0 for none. A quarter-wave band, the least reflecting, is λ / (4 √n) pixels thick; the form shows it for the core. - AR on input side
Put the anti-reflection band on the input end. Switch it off where the gate takes its light from a gate before it, so the wave passes through the junction. - AR on output side
Put the anti-reflection band on the output end. Switch it off where the gate hands its light to a gate after it, so the wave passes through the junction. - Quarter-wave coating
The thickness of the least reflecting coating on the core, λ / (4 √n) - Port spacing
Distance between the two inputs, and between the two outputs, in pixels. A value below what the design needs to keep the arms apart is raised to it, and the box shows the spacing used. - Upper output
Let the upper output's light leave the gate. Switched off, an absorber with a soft rise takes it in the last stretch of the arm. - Lower output
Let the lower output's light leave the gate. Switched off, an absorber with a soft rise takes it in the last stretch of the arm. - Core width
- Coupler gap
- Coupler length
- Total length
- Input A
- Input B
- Upper output
- Lower output
AND gate
An optical AND gate: the same coupler with the lower input a quarter period behind, so the upper output carries the sum. It is brightest with both inputs lit, about four times a single one; a passive linear gate has no truer AND.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Design frequency
The source frequency the gate is designed for, on the same scale as a source's frequency: the frequency of the sources that drive it. The wavelength, and from it the core width, the coupler and the phase section, follow from it, so the gate works at this frequency only. - Wavelength
The wavelength the design frequency gives in a medium of index 1, with the simulation's source frequency scale - Core index
Refractive index of the waveguide cores, 1.00 to 2.55 in steps of 0.01. It must be above the cladding's; the larger the difference, the narrower the cores and the tighter the bends. - Cladding index
Refractive index of the cladding around the cores, 1.00 to 2.55 in steps of 0.01. - AR coating
Thickness in pixels of the anti-reflection band at the ends ticked below, with the index √n of the core and of the cladding; 0 for none. A quarter-wave band, the least reflecting, is λ / (4 √n) pixels thick; the form shows it for the core. - AR on input side
Put the anti-reflection band on the input end. Switch it off where the gate takes its light from a gate before it, so the wave passes through the junction. - AR on output side
Put the anti-reflection band on the output end. Switch it off where the gate hands its light to a gate after it, so the wave passes through the junction. - Quarter-wave coating
The thickness of the least reflecting coating on the core, λ / (4 √n) - Port spacing
Distance between the two inputs, and between the two outputs, in pixels. A value below what the design needs to keep the arms apart is raised to it, and the box shows the spacing used. - Upper output
Let the upper output's light leave the gate. Switched off, an absorber with a soft rise takes it in the last stretch of the arm. - Lower output
Let the lower output's light leave the gate. Switched off, an absorber with a soft rise takes it in the last stretch of the arm. - Core width
- Coupler gap
- Coupler length
- Total length
- Input A
- Input B
- Upper output
- Lower output
OR gate
An optical OR gate: the same coupler with the lower input a twelfth of a period ahead, so the upper output carries half the power of either input and of both. It lights with one input or both.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Design frequency
The source frequency the gate is designed for, on the same scale as a source's frequency: the frequency of the sources that drive it. The wavelength, and from it the core width, the coupler and the phase section, follow from it, so the gate works at this frequency only. - Wavelength
The wavelength the design frequency gives in a medium of index 1, with the simulation's source frequency scale - Core index
Refractive index of the waveguide cores, 1.00 to 2.55 in steps of 0.01. It must be above the cladding's; the larger the difference, the narrower the cores and the tighter the bends. - Cladding index
Refractive index of the cladding around the cores, 1.00 to 2.55 in steps of 0.01. - AR coating
Thickness in pixels of the anti-reflection band at the ends ticked below, with the index √n of the core and of the cladding; 0 for none. A quarter-wave band, the least reflecting, is λ / (4 √n) pixels thick; the form shows it for the core. - AR on input side
Put the anti-reflection band on the input end. Switch it off where the gate takes its light from a gate before it, so the wave passes through the junction. - AR on output side
Put the anti-reflection band on the output end. Switch it off where the gate hands its light to a gate after it, so the wave passes through the junction. - Quarter-wave coating
The thickness of the least reflecting coating on the core, λ / (4 √n) - Port spacing
Distance between the two inputs, and between the two outputs, in pixels. A value below what the design needs to keep the arms apart is raised to it, and the box shows the spacing used. - Upper output
Let the upper output's light leave the gate. Switched off, an absorber with a soft rise takes it in the last stretch of the arm. - Lower output
Let the lower output's light leave the gate. Switched off, an absorber with a soft rise takes it in the last stretch of the arm. - Core width
- Coupler gap
- Coupler length
- Total length
- Input A
- Input B
- Upper output
- Lower output
Zone plate
A zone plate: Fresnel zones cut for a design frequency and a focal length, every second zone an absorbing block, the central zone open or, inverted, a block. It focuses by diffraction; an optional mount stops light passing outside the diameter.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right. - Target frequency
The source frequency the plate is designed for, on the same scale as a source's frequency. The zones follow from the wavelength it gives, so the plate focuses this frequency at the focal length; other frequencies focus elsewhere. - Wavelength
The wavelength the design frequency gives in a medium of index 1, with the simulation's source frequency scale - Focal length
Distance in pixels from the plate to its focus, for a plane wave arriving along the axis. - Inverse
Exchange the zones: the central zone becomes a block, the first ring open, and so on. The focus stays where it is. - Diameter
Extent across the axis in pixels; the zones fill it. - Thickness
Extent along the axis in pixels: the depth of the blocks. It should leave room for the anti-reflection rise on both faces. - Anti-reflection
Depth in pixels over which a block's absorption rises from nothing at its faces to its full strength, so the blocks reflect little; at most half the thickness takes effect. - Mount
Surround the plate with an absorbing mount, so no light passes outside its diameter. Without it, that light meets the focused light on the axis and moves the focus further out, the more so the fewer zones the plate has. - Mount width
Width in pixels of the absorbing mount on either side, beyond the diameter. - Number of zones
- Outermost zone
Probe
A point probe of the field.
- Name
Name shown in the project tree and in the graph title. - Active
Sample and draw this probe. - Start after step
Step at which recording starts; 0 records from the first step. - Layer
Output the probe samples and is drawn on. - Measurement
Recorded quantity. The field offers its amplitude only; the intensity layer its value, or the value integrated over the run. - Kind
A single point, or a line from A to B. - A x
X of the probe pixel, or of the start of the line, in canvas pixels. - A y
Y of the probe pixel, or of the start of the line, in canvas pixels. - B x
X of the end of the line in canvas pixels; line probes only. - B y
Y of the end of the line in canvas pixels; line probes only. - Box size
Nominal size of the graph box drawn over the output; a box larger than the canvas is shrunk to fit it, aspect kept. - Box x
Left edge of the graph box in canvas pixels. A box placed on the probe's point A moves with the probe; dragging it close snaps it on. - Box y
Top edge of the graph box in canvas pixels. A box placed on the probe's point A moves with the probe; dragging it close snaps it on. - Box width
Width of the graph box in canvas pixels; custom box size only. A box larger than the canvas is shrunk to fit it, aspect kept. - Box height
Height of the graph box in canvas pixels; custom box size only. A box larger than the canvas is shrunk to fit it, aspect kept. - Step axis
Sliding window of the last steps, or the whole run; point probes only. - Window
Width of the sliding step window, in steps. - Auto-scale steps
Let the step axis follow the samples recorded so far; point probes only. - Auto-scale values
Fit the value axis to the data instead of the fixed minimum and maximum. - Value axis
A linear or a logarithmic value axis; intensity probes only, the field is always linear. - Decades
Decades a logarithmic value axis spans below its top; smaller values, zero included, sit on the bottom line. - Value minimum
Lower bound of the value axis when it is not auto-scaled. - Value maximum
Upper bound of the value axis when it is not auto-scaled.
Line probe
A line probe of the intensity, logarithmic.
- Name
Name shown in the project tree and in the graph title. - Active
Sample and draw this probe. - Start after step
Step at which recording starts; 0 records from the first step. - Layer
Output the probe samples and is drawn on. - Measurement
Recorded quantity. The field offers its amplitude only; the intensity layer its value, or the value integrated over the run. - Kind
A single point, or a line from A to B. - A x
X of the probe pixel, or of the start of the line, in canvas pixels. - A y
Y of the probe pixel, or of the start of the line, in canvas pixels. - B x
X of the end of the line in canvas pixels; line probes only. - B y
Y of the end of the line in canvas pixels; line probes only. - Box size
Nominal size of the graph box drawn over the output; a box larger than the canvas is shrunk to fit it, aspect kept. - Box x
Left edge of the graph box in canvas pixels. A box placed on the probe's point A moves with the probe; dragging it close snaps it on. - Box y
Top edge of the graph box in canvas pixels. A box placed on the probe's point A moves with the probe; dragging it close snaps it on. - Box width
Width of the graph box in canvas pixels; custom box size only. A box larger than the canvas is shrunk to fit it, aspect kept. - Box height
Height of the graph box in canvas pixels; custom box size only. A box larger than the canvas is shrunk to fit it, aspect kept. - Step axis
Sliding window of the last steps, or the whole run; point probes only. - Window
Width of the sliding step window, in steps. - Auto-scale steps
Let the step axis follow the samples recorded so far; point probes only. - Auto-scale values
Fit the value axis to the data instead of the fixed minimum and maximum. - Value axis
A linear or a logarithmic value axis; intensity probes only, the field is always linear. - Decades
Decades a logarithmic value axis spans below its top; smaller values, zero included, sit on the bottom line. - Value minimum
Lower bound of the value axis when it is not auto-scaled. - Value maximum
Upper bound of the value axis when it is not auto-scaled.
Colour scheme
A colour scheme of the project.
- Name
Name the display settings refer to. - Kind
Output the scheme is meant for; the pickers list it for that output only. - Description
Free text: what the scheme is, where it comes from. - Based on
Copy the stops of an existing scheme into this one, then change them - A stop: position, colour swatch (opens the picker), hex value, remove
Pick the colour: Space opens the picker, Enter keeps it, Escape puts the old colour back - Add a stop
Insert a stop in the widest gap, with the gradient's colour there
Settings every part shares
The settings every part shares: the top of every part's form, here the rectangle's.
- Description of the kind, opened and closed with Space; one setting for every kind
Show or hide what this kind of part is - Name
Name shown in the project tree and on the canvas. - Enabled
Paint the part into the scene; a disabled part has no effect on a run. - X
X of the part's centre in canvas pixels. - Y
Y of the part's centre in canvas pixels. - Angle
Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
Glass and mirror settings
The glass and mirror settings: the Material section of a shape's form, here the rectangle's.
- Mirror
Make the part a mirror instead of glass. The refractive index, the coating and the absorption are ignored then. - Refractive index
Refractive index of the glass, 1.00 to 2.55 in steps of 0.01. - AR coating
Thickness in pixels of the anti-reflection band just inside the outline; 0 for none. A quarter-wave layer is λ / (4 √n) pixels thick, λ being the wavelength the source form shows; a graded band is the better the thicker, from a wavelength on. - Coating profile
How the index runs through the band: a layer at √n, the quarter-wave idea, or a graded rise from the medium outside to the glass. A graded band reflects less than a layer once it is a wavelength thick or more, at any wavelength; a layer only at the wavelength it is cut for. - Coat the front
Put the band on the front: the faces turned toward a source on the left, a lens's first surface. Clear it to leave them bare, as the inner faces of a cavity are. - Coat the back
Put the band on the back: the faces turned away from a source on the left, a lens's second surface. Clear it to leave them bare. - Coat the sides
Put the band on the sides: the faces that are neither front nor back, a lens's rim, a slab's narrow ends. Clear it to leave them bare. - Absorption
How strongly the part absorbs waves, 0 (not at all) to 255, as the scene image's blue channel. It rises from nothing at the outline over the absorption ramp, so a wave enters the part instead of being reflected. A mirror ignores it. - Absorption ramp
Depth in pixels over which the absorption rises from nothing at the outline to its full value; the longer, the less of a wave is reflected. A part thinner than twice the ramp reaches its full absorption in its middle.