Skip to content

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.

C#
66.2 KB
Raw Blame

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

main-window

The main window with the example project at frame 1200.

  1. Menu bar
  2. Project pane: the tree of the project's objects
  3. Properties pane: the selected object's form
  4. Field picture
  5. Intensity picture
  6. Header strip of a picture: title, brightness, Auto
    Gain applied to the values before the colour lookup.
  7. 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
  8. Transport controls, position readout, speed, layout
    Frame shown / last frame
  9. Status bar

The project tree

project-tree

The Project pane with the example project.

  1. Pane title
  2. Add a source
    Add a source (appended at the end)
  3. Add a probe
    Add a probe (appended at the end)
  4. Add a part (a menu of the kinds)
    Add an optical part (a menu of kinds; appended at the end)
  5. Move the selected object up
    Move up (Alt+Up); drag to reorder
  6. Move the selected object down
    Move down (Alt+Down); drag to reorder
  7. Remove the selected object
    Remove (Del)
  8. Project: the root row
  9. Scene
  10. Simulation
  11. Display
  12. Sources group
  13. Expand or collapse a group
  14. Add to this group
    Add an item to this folder
  15. Enabled
    Include the source in runs (Space on the row toggles it)
  16. Move up
    Move up (Alt+Up); drag to reorder
  17. Move down
    Move down (Alt+Down); drag to reorder
  18. Remove
    Remove (Del)
  19. Parts group
  20. Probes group
  21. Colour schemes group

The preview

preview

The preview: field and intensity pictures of the example project at frame 1200.

  1. Field picture
  2. Brightness of the field picture
    Gain applied to the values before the colour lookup.
  3. 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.
  4. Intensity picture
  5. Brightness of the intensity picture
    Gain applied to the values before the colour lookup.
  6. 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.
  7. Splitter between the pictures
    Drag or use the arrow keys to resize; double-click or Enter resets to half
  8. Source handle (Vertical source)
    Vertical source: drag to move; with keyboard focus the arrow keys move it by a pixel, ten with Shift
  9. Part handle (Mirror background)
    Mirror background: drag to move; with keyboard focus the arrow keys move it by a pixel, ten with Shift
  10. 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
  11. 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

timeline

The timeline with the playhead and the in and out points, and the transport controls.

  1. Playhead: the position shown
  2. In point
  3. Out point
  4. Run the simulation
    Run the simulation from the start (F5)
  5. Pause the simulation
    Pause the simulation (F6)
  6. Play
    Play (Space)
  7. Pause
    Pause (Space)
  8. One frame back
    Previous frame (,)
  9. One frame forward
    Next frame (.)
  10. Set the in point
    Start the export range at this frame (I)
  11. Set the out point
    End the export range at this frame (O)
  12. Clear the in and out points
    Clear the export range: the whole run is exported (X)
  13. Loop
    Loop playback over the export range (L)
  14. Live: follow a running run
    Follow the newest frame while the run is in progress (F)
  15. Position: frame of frames
    Frame shown / last frame
  16. Step of the position
    Simulation step of the frame shown
  17. Playback speed
    Playback speed: pick a factor or type one
  18. Show the field
    Show the field picture
  19. Show the intensity
    Show the intensity picture
  20. Pictures side by side
    Field and intensity side by side
  21. Pictures stacked
    Field above intensity

The File menu

menu-file

The File menu.

  1. New Project
  2. Open Project...
  3. Recent Projects
  4. Examples
  5. Save
  6. Save As...
  7. Export
  8. Export last
  9. Close Project
  10. Exit

The Edit menu

menu-edit

The Edit menu.

  1. Undo
  2. Redo
  3. Cut
  4. Copy
  5. Paste
  6. Delete
  7. Select all

The View menu

menu-view

The View menu.

  1. Panes
  2. Theme
  3. UI zoom
  4. Language
  5. Preview resolution
  6. Preview frames
  7. Preview samples
  8. Preview dithering

The Simulation menu

menu-simulation

The Simulation menu.

  1. Run
  2. Pause
  3. Stop
  4. Play
  5. Use the GPU (OpenCL)
  6. Re-run automatically after edits
  7. Warn when a run does not fit in RAM
  8. RAM cache size

The Help menu

menu-help

The Help menu.

  1. About WaveDude Next
  2. Manual

File > Export

menu-file-export

The File > Export submenu.

  1. Export field...
  2. Export intensity...
  3. Export both...
  4. Export field frame...
  5. Export intensity frame...

File > Examples

menu-file-examples

The File > Examples submenu: the shipped example projects.

  1. 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. 2. Coherent source gaussian beam
    Featuring a 21 x 7 composite source that emits a continuous gaussian beam
  3. 3. Directional pulsed source
    Featuring a coherent pulsed assembly of sources that emits a directional stream of wave pulses.
  4. 4. 3 sources 3 frequencies
    Geometric wave pattern resulting from 3 sources with different frequencies
  5. 5. Small incoherent source
    Simulation features a small (5x5 composite) source using randomized "off"-time and source frequency.
  6. 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. 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. 8. Resonant wave in cavity
    Wave energy released at the center of a cavity at almost the resonance frequency.
  9. 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. 10. Beam expansion
    A beam expander using a GRIN lens and a large confocal lens.
  11. 11. Zone plate
    One source and a zone plate
  12. 12. Pulse splitter
    Short coherent pulse divided by a beam splitter
  13. 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. 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. 15. Top up the tank
    Filling a tank with radiative energy
  16. 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. 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. 18. XOR AND OR logic
    3 logical wave gates chained together
  19. 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. 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. 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. 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. 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.
  1. 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

menu-add-part

The Add part menu of the project tree: the kinds of optical parts.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. Polygon
    A regular polygon of glass or mirror, by its number of sides and the side length.
  7. Rectangle
    A rectangle of glass or mirror, by length and width; linked, a square. A flat mirror is a long, narrow one.
  8. Ellipse
    An ellipse of glass or mirror, by the length and width of its box; linked, a circle.
  9. 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.
  10. Outline
    A free outline of glass or mirror: a closed shape through the points you place and drag; fewer than three paint nothing.
  11. Optical logic

Add part > Optical logic

menu-add-part-logic

The Optical logic submenu of the Add part menu: the gates.

  1. 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.
  2. 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.
  3. 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

properties-project

The project's own properties.

  1. Format version
    Version of the project file format.
  2. Random seed
  3. Description
    Free-text notes about the project.
  4. New seed: a fresh random seed

Scene

properties-scene

The Scene form (an image scene).

  1. Mode
    Blank canvas of the given size, or a canvas built from the scene image.
  2. 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.
  3. 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.
  4. Embedded image
    Size of the embedded scene image; the canvas takes this size
  5. Width
    Width of a blank canvas in pixels.
  6. Height
    Height of a blank canvas in pixels.
  7. 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.
  8. 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.
  9. Refractive index
    Refractive index of a blank canvas, 1.0 to 2.55. The wave speed is 1/n cells per step.
  10. Image sources
    Let the green channel of the scene image emit waves; the pixel value is the frequency level.
  11. Image source amplitude
    Peak amplitude of the image sources.
  12. Object sources
    Use the sources defined in the project.
  13. 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

properties-simulation

The Simulation form.

  1. Steps
    Total number of simulation steps.
  2. Visualize every
    Render a frame, export it and sample the probes every this many steps.
  3. 4th-order Laplacian
    Use the 4th-order stencil with sub-stepping instead of the 9-point stencil. More accurate, slower.
  4. Wave speed
    Nominal wave speed in pixels per step; only used to estimate wavelengths in the editor.
  5. Intensity time decay
    Averaging window factor of the intensity: the engine averages over this × 100 / lowest source level steps.
  6. Source frequency scale
    Multiplier of the level-to-frequency mapping: ω = level / 255 × 0.5 × scale, in radians per step.
  7. Intensity scale
    Multiplier applied to the intensity values the engine produces.

Display

properties-display

The Display form.

  1. Colour scheme
    Name of the colour scheme mapped onto the values.
  2. Brightness
    Gain applied to the values before the colour lookup.
  3. Black level
    Offset applied before the colour lookup; values at or below it map to the first colour.
  4. Preview
    Show this output in the live preview.
  5. Outline in the preview
    Lay the scene image's glowing-edges outline over this output in the preview.
  6. Outline brightness
    Multiplier of the outline: 1 as computed, higher lifts faint edges, 0 hides it.
  7. Outline in the export
    Bake the outline into exported frames and videos of this output.
  8. Colour scheme
    Name of the colour scheme mapped onto the values.
  9. Brightness
    Gain applied to the values before the colour lookup.
  10. Black level
    Offset applied before the colour lookup; values at or below it map to the first colour.
  11. Preview
    Show this output in the live preview.
  12. Outline in the preview
    Lay the scene image's glowing-edges outline over this output in the preview.
  13. Outline brightness
    Multiplier of the outline: 1 as computed, higher lifts faint edges, 0 hides it.
  14. Outline in the export
    Bake the outline into exported frames and videos of this output.
  15. 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.
  16. Labels in the preview
    Show the names beside the handles over the preview pictures. A selected object shows its own either way.
  17. From step
    First simulation step of the exported range; 0 is the start of the run.
  18. To step
    Last simulation step of the exported range; 0 means the end of the run.
  19. Probe graphs in the export
    Draw the probes' graph boxes over exported frames and videos.
  20. Probe markers in the export
    Draw the probes' positions (crosses, the line of a line probe, the number) over exported frames and videos.
  21. Source markers in the export
    Draw the enabled sources (the marker, a composite source's emitter dots, the name) over exported frames and videos.
  22. Frame rate
    Frames per second of the exported video.
  23. Quality
    Encoder quality, 1 to 100.

Source

properties-source

A point source.

  1. Name
    Name shown in the project tree and on the canvas.
  2. Enabled
    Include the source in simulation runs.
  3. X
    X of the emitter, or of the array centre, in canvas pixels.
  4. Y
    Y of the emitter, or of the array centre, in canvas pixels.
  5. 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.
  6. Amplitude
    Amplitude in percent, 0 to 100, decimals allowed.
  7. Phase
    Phase offset in degrees, -180 to 180.
  8. 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
  9. Mode
    Emit continuously or in bursts.
  10. Pulse shape
    Envelope of each burst; pulsed mode only.
  11. Pulse width
    Length of each burst in cycles of the source frequency; pulsed mode only.
  12. Off width
    Length of the gap between bursts in cycles; pulsed mode only.
  13. Detach after step
    Simulation step at which the source fades out; -1 keeps it on for the whole run.
  14. Composite source
    Emit from an array of emitters instead of a single point.
  15. Columns
    Number of emitters across. Odd counts keep the centre emitter on the source position.
  16. Rows
    Number of emitters down.
  17. Horizontal spacing
    Distance between neighbouring columns in canvas pixels.
  18. Vertical spacing
    Distance between neighbouring rows in canvas pixels.
  19. Rotation
    Rotation of the grid about the source position in degrees, counter-clockwise on the screen. 0 keeps the rows horizontal.
  20. Frequency
    Each emitter's level is offset by up to ± this amount. 0 turns it off.
  21. Phase
    Each emitter's phase is offset by up to ± this many degrees. 0 turns it off.
  22. Off width
    Each gap between bursts is offset by up to ± this many cycles, re-drawn every period. 0 turns it off.
  23. Position
    Each emitter is moved by up to ± this many pixels in X and in Y. 0 turns it off.

Composite source

properties-composite-source

A composite (array) source, pulsed.

  1. Name
    Name shown in the project tree and on the canvas.
  2. Enabled
    Include the source in simulation runs.
  3. X
    X of the emitter, or of the array centre, in canvas pixels.
  4. Y
    Y of the emitter, or of the array centre, in canvas pixels.
  5. 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.
  6. Amplitude
    Amplitude in percent, 0 to 100, decimals allowed.
  7. Phase
    Phase offset in degrees, -180 to 180.
  8. 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
  9. Mode
    Emit continuously or in bursts.
  10. Pulse shape
    Envelope of each burst; pulsed mode only.
  11. Pulse width
    Length of each burst in cycles of the source frequency; pulsed mode only.
  12. Off width
    Length of the gap between bursts in cycles; pulsed mode only.
  13. Detach after step
    Simulation step at which the source fades out; -1 keeps it on for the whole run.
  14. Composite source
    Emit from an array of emitters instead of a single point.
  15. Columns
    Number of emitters across. Odd counts keep the centre emitter on the source position.
  16. Rows
    Number of emitters down.
  17. Horizontal spacing
    Distance between neighbouring columns in canvas pixels.
  18. Vertical spacing
    Distance between neighbouring rows in canvas pixels.
  19. Rotation
    Rotation of the grid about the source position in degrees, counter-clockwise on the screen. 0 keeps the rows horizontal.
  20. Frequency
    Each emitter's level is offset by up to ± this amount. 0 turns it off.
  21. Phase
    Each emitter's phase is offset by up to ± this many degrees. 0 turns it off.
  22. Off width
    Each gap between bursts is offset by up to ± this many cycles, re-drawn every period. 0 turns it off.
  23. Position
    Each emitter is moved by up to ± this many pixels in X and in Y. 0 turns it off.

Lens

properties-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.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. Mirror
    Make the part a mirror instead of a lens. The refractive index, the coating and the absorption are ignored then.
  8. Refractive index
    Refractive index of the glass, 1.00 to 2.55 in steps of 0.01.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. Diameter
    Extent across the axis in pixels.
  17. 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.
  18. 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.
  19. 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.
  20. Centre thickness
    Distance between the two surfaces on the axis in pixels.
  21. 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

properties-polygon

A regular polygon of glass or mirror, by its number of sides and the side length.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. Mirror
    Make the part a mirror instead of glass. The refractive index, the coating and the absorption are ignored then.
  8. Refractive index
    Refractive index of the glass, 1.00 to 2.55 in steps of 0.01.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. Number of sides
    Number of sides, 3 to 64.
  17. Side length
    Length of each side in pixels.

Rectangle

properties-rectangle

A rectangle of glass or mirror, by length and width; linked, a square. A flat mirror is a long, narrow one.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. Mirror
    Make the part a mirror instead of glass. The refractive index, the coating and the absorption are ignored then.
  8. Refractive index
    Refractive index of the glass, 1.00 to 2.55 in steps of 0.01.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. Length
    Extent along the axis in pixels.
  17. Width
    Extent across the axis in pixels.
  18. Linked: the chain keeps the width equal to the length
    Keep the width equal to the length: a square.

Ellipse

properties-ellipse

An ellipse of glass or mirror, by the length and width of its box; linked, a circle.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. Mirror
    Make the part a mirror instead of glass. The refractive index, the coating and the absorption are ignored then.
  8. Refractive index
    Refractive index of the glass, 1.00 to 2.55 in steps of 0.01.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. Length
    Diameter along the axis in pixels.
  17. Width
    Diameter across the axis in pixels.
  18. Linked: the chain keeps the width equal to the length
    Keep the width equal to the length: a circle.

Triangle

properties-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.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. Mirror
    Make the part a mirror instead of glass. The refractive index, the coating and the absorption are ignored then.
  8. Refractive index
    Refractive index of the glass, 1.00 to 2.55 in steps of 0.01.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. Type
    Equilateral, right isosceles (the 45° prism), 30-60-90, isosceles with one typed angle, or custom with both typed.
  17. Base
    Length of the base in pixels; the base lies across the axis, toward a source on the left.
  18. Angle A
    Base angle at the first end of the base, in degrees. Typed for the isosceles and custom types; the presets fix it.
  19. Angle B
    Base angle at the second end of the base, in degrees. Typed for the custom type; the others fix it.
  20. Apex angle
    The angle at the apex: 180° minus the two base angles

Outline

properties-outline

A free outline of glass or mirror: a closed shape through the points you place and drag; fewer than three paint nothing.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. Mirror
    Make the part a mirror instead of glass. The refractive index, the coating and the absorption are ignored then.
  8. Refractive index
    Refractive index of the glass, 1.00 to 2.55 in steps of 0.01.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. X
  17. A point: X, Y, remove
    Remove this point
  18. Add a point
    Append a point after the last one

Fibre

properties-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.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. Core index
    Refractive index of the core, 1.00 to 2.55 in steps of 0.01.
  8. Core diameter
    Diameter of the core in pixels.
  9. 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.
  10. Cladding thickness
    Thickness of the cladding around the core in pixels; 0 for a bare core.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. 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.
  17. 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.
  18. 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.
  19. Node
    X relative to the part's centre in canvas pixels, before rotation.
  20. 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.
  21. 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.
  22. Node
    X relative to the part's centre in canvas pixels, before rotation.
  23. 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.
  24. 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.
  25. Per node: smooth, remove
    Remove this node
  26. Add a node
    Append a node beyond the last one, continuing the path

Bragg reflector

properties-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.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. Layer pairs
    Number of layer pairs, 1 to 200.
  8. Thickness 1
    Thickness of the first layer of each pair in pixels. A quarter-wave layer is λ / (4 n) pixels thick.
  9. Index 1
    Refractive index of the first layer of each pair, 1.00 to 2.55 in steps of 0.01.
  10. Thickness 2
    Thickness of the second layer of each pair in pixels. A quarter-wave layer is λ / (4 n) pixels thick.
  11. Index 2
    Refractive index of the second layer of each pair, 1.00 to 2.55 in steps of 0.01.
  12. Width
    Extent of the stack across the axis in pixels.

GRIN lens

properties-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.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. Centre index
    Refractive index on the axis, 1.00 to 2.55 in steps of 0.01.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. Length
    Extent along the axis in pixels.
  15. Diameter
    Extent across the axis in pixels.

XOR gate

properties-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.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. 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.
  8. Wavelength
    The wavelength the design frequency gives in a medium of index 1, with the simulation's source frequency scale
  9. 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.
  10. Cladding index
    Refractive index of the cladding around the cores, 1.00 to 2.55 in steps of 0.01.
  11. 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.
  12. 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.
  13. 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.
  14. Quarter-wave coating
    The thickness of the least reflecting coating on the core, λ / (4 √n)
  15. 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.
  16. 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.
  17. 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.
  18. Core width
  19. Coupler gap
  20. Coupler length
  21. Total length
  22. Input A
  23. Input B
  24. Upper output
  25. Lower output

AND gate

properties-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.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. 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.
  8. Wavelength
    The wavelength the design frequency gives in a medium of index 1, with the simulation's source frequency scale
  9. 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.
  10. Cladding index
    Refractive index of the cladding around the cores, 1.00 to 2.55 in steps of 0.01.
  11. 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.
  12. 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.
  13. 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.
  14. Quarter-wave coating
    The thickness of the least reflecting coating on the core, λ / (4 √n)
  15. 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.
  16. 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.
  17. 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.
  18. Core width
  19. Coupler gap
  20. Coupler length
  21. Total length
  22. Input A
  23. Input B
  24. Upper output
  25. Lower output

OR gate

properties-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.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. 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.
  8. Wavelength
    The wavelength the design frequency gives in a medium of index 1, with the simulation's source frequency scale
  9. 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.
  10. Cladding index
    Refractive index of the cladding around the cores, 1.00 to 2.55 in steps of 0.01.
  11. 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.
  12. 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.
  13. 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.
  14. Quarter-wave coating
    The thickness of the least reflecting coating on the core, λ / (4 √n)
  15. 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.
  16. 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.
  17. 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.
  18. Core width
  19. Coupler gap
  20. Coupler length
  21. Total length
  22. Input A
  23. Input B
  24. Upper output
  25. Lower output

Zone plate

properties-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.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. Angle
    Rotation about the centre in degrees, counter-clockwise on the screen. 0 points the part's axis to the right.
  7. 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.
  8. Wavelength
    The wavelength the design frequency gives in a medium of index 1, with the simulation's source frequency scale
  9. Focal length
    Distance in pixels from the plate to its focus, for a plane wave arriving along the axis.
  10. Inverse
    Exchange the zones: the central zone becomes a block, the first ring open, and so on. The focus stays where it is.
  11. Diameter
    Extent across the axis in pixels; the zones fill it.
  12. Thickness
    Extent along the axis in pixels: the depth of the blocks. It should leave room for the anti-reflection rise on both faces.
  13. 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.
  14. 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.
  15. Mount width
    Width in pixels of the absorbing mount on either side, beyond the diameter.
  16. Number of zones
  17. Outermost zone

Probe

properties-probe

A point probe of the field.

  1. Name
    Name shown in the project tree and in the graph title.
  2. Active
    Sample and draw this probe.
  3. Start after step
    Step at which recording starts; 0 records from the first step.
  4. Layer
    Output the probe samples and is drawn on.
  5. Measurement
    Recorded quantity. The field offers its amplitude only; the intensity layer its value, or the value integrated over the run.
  6. Kind
    A single point, or a line from A to B.
  7. A x
    X of the probe pixel, or of the start of the line, in canvas pixels.
  8. A y
    Y of the probe pixel, or of the start of the line, in canvas pixels.
  9. B x
    X of the end of the line in canvas pixels; line probes only.
  10. B y
    Y of the end of the line in canvas pixels; line probes only.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. Step axis
    Sliding window of the last steps, or the whole run; point probes only.
  17. Window
    Width of the sliding step window, in steps.
  18. Auto-scale steps
    Let the step axis follow the samples recorded so far; point probes only.
  19. Auto-scale values
    Fit the value axis to the data instead of the fixed minimum and maximum.
  20. Value axis
    A linear or a logarithmic value axis; intensity probes only, the field is always linear.
  21. Decades
    Decades a logarithmic value axis spans below its top; smaller values, zero included, sit on the bottom line.
  22. Value minimum
    Lower bound of the value axis when it is not auto-scaled.
  23. Value maximum
    Upper bound of the value axis when it is not auto-scaled.

Line probe

properties-line-probe

A line probe of the intensity, logarithmic.

  1. Name
    Name shown in the project tree and in the graph title.
  2. Active
    Sample and draw this probe.
  3. Start after step
    Step at which recording starts; 0 records from the first step.
  4. Layer
    Output the probe samples and is drawn on.
  5. Measurement
    Recorded quantity. The field offers its amplitude only; the intensity layer its value, or the value integrated over the run.
  6. Kind
    A single point, or a line from A to B.
  7. A x
    X of the probe pixel, or of the start of the line, in canvas pixels.
  8. A y
    Y of the probe pixel, or of the start of the line, in canvas pixels.
  9. B x
    X of the end of the line in canvas pixels; line probes only.
  10. B y
    Y of the end of the line in canvas pixels; line probes only.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. Step axis
    Sliding window of the last steps, or the whole run; point probes only.
  17. Window
    Width of the sliding step window, in steps.
  18. Auto-scale steps
    Let the step axis follow the samples recorded so far; point probes only.
  19. Auto-scale values
    Fit the value axis to the data instead of the fixed minimum and maximum.
  20. Value axis
    A linear or a logarithmic value axis; intensity probes only, the field is always linear.
  21. Decades
    Decades a logarithmic value axis spans below its top; smaller values, zero included, sit on the bottom line.
  22. Value minimum
    Lower bound of the value axis when it is not auto-scaled.
  23. Value maximum
    Upper bound of the value axis when it is not auto-scaled.

Colour scheme

properties-colour-scheme

A colour scheme of the project.

  1. Name
    Name the display settings refer to.
  2. Kind
    Output the scheme is meant for; the pickers list it for that output only.
  3. Description
    Free text: what the scheme is, where it comes from.
  4. Based on
    Copy the stops of an existing scheme into this one, then change them
  5. 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
  6. Add a stop
    Insert a stop in the widest gap, with the gradient's colour there

Settings every part shares

properties-part-common

The settings every part shares: the top of every part's form, here the rectangle's.

  1. Description of the kind, opened and closed with Space; one setting for every kind
    Show or hide what this kind of part is
  2. Name
    Name shown in the project tree and on the canvas.
  3. Enabled
    Paint the part into the scene; a disabled part has no effect on a run.
  4. X
    X of the part's centre in canvas pixels.
  5. Y
    Y of the part's centre in canvas pixels.
  6. 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

properties-part-material

The glass and mirror settings: the Material section of a shape's form, here the rectangle's.

  1. Mirror
    Make the part a mirror instead of glass. The refractive index, the coating and the absorption are ignored then.
  2. Refractive index
    Refractive index of the glass, 1.00 to 2.55 in steps of 0.01.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.