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#

The examples' names: fibre spelt the British way throughout, two file names with it, two names capitalised, Example 16's probe in sentence case

Alexander Graef8067dac886b5
diff --git a/Examples/Example07_Random_emitter_lattice.wdproj b/Examples/Example07_Random_emitter_lattice.wdproj
index b9a33e8..3ae1ca8 100644
--- a/Examples/Example07_Random_emitter_lattice.wdproj
+++ b/Examples/Example07_Random_emitter_lattice.wdproj
@@ -8,7 +8,7 @@
<Intensity ColorScheme="Default intensity" Brightness="60" />
<Video Quality="70" />
</Display>
- <Source Name="emitter lattice" X="937" Y="537" Frequency="90" Mode="Pulsed" PulseWidth="4" OffWidth="1500">
+ <Source Name="Emitter lattice" X="937" Y="537" Frequency="90" Mode="Pulsed" PulseWidth="4" OffWidth="1500">
<Array SizeX="41" SizeY="21" SpacingX="50" SpacingY="50" RandomFrequency="30" RandomPhase="180" RandomOffWidth="1500" />
</Source>
<Probe Name="Probe 1" AX="458" AY="973" BoxX="4" BoxY="880" />
diff --git a/Examples/Example15_Top_up_the_tank.wdproj b/Examples/Example15_Top_up_the_tank.wdproj
index 3834a7c..b5fcb76 100644
--- a/Examples/Example15_Top_up_the_tank.wdproj
+++ b/Examples/Example15_Top_up_the_tank.wdproj
@@ -17,7 +17,7 @@
<Rectangle Name="Absorber pinhole 1" X="582" Y="353" RefractiveIndex="1" Absorption="255" Length="50" Width="184" />
<Rectangle Name="Absorber pinhole 2" X="576" Y="98" RefractiveIndex="1" Absorption="255" Length="50" Width="184" />
<Ellipse Name="Reflective cavity" X="1424" Y="655" RefractiveIndex="1" Length="192" Width="186" />
- <Fiber Name="Fiber" X="1042" Y="223" CoreIndex="1.52" CoreDiameter="7" CladdingIndex="1.41" Ends="Round">
+ <Fiber Name="Fibre" X="1042" Y="223" CoreIndex="1.52" CoreDiameter="7" CladdingIndex="1.41" Ends="Round">
<Node X="-109" Y="-3" OutX="67" />
<Node X="150" Y="16" InX="-59" InY="-19" OutX="75" OutY="24" />
<Node X="305" Y="108" InX="-26" InY="-28" OutX="26" OutY="27" />
diff --git a/Examples/Example16_Wave_in_2_boxes.wdproj b/Examples/Example16_Wave_in_2_boxes.wdproj
index e3a2312..af944d4 100644
--- a/Examples/Example16_Wave_in_2_boxes.wdproj
+++ b/Examples/Example16_Wave_in_2_boxes.wdproj
@@ -18,6 +18,6 @@
<Rectangle Name="Left box" X="405" Y="353" RefractiveIndex="1" Length="600" Width="608" />
<Rectangle Name="Right box" X="1120" Y="355" RefractiveIndex="1" Length="600" Width="608" />
<Rectangle Name="Connection" X="761" Y="359" RefractiveIndex="1" Length="180" Width="62" />
- <Probe Name="Log Intensity distribution over boxes" Layer="Intensity" Measurement="Value" Kind="Line" AX="107" AY="357" BX="1414" BY="356" BoxX="576" BoxY="670" YScale="Logarithmic" />
+ <Probe Name="Log intensity distribution over boxes" Layer="Intensity" Measurement="Value" Kind="Line" AX="107" AY="357" BX="1414" BY="356" BoxX="576" BoxY="670" YScale="Logarithmic" />
<Probe Name="Field amplitude diagonal left box" Kind="Line" AX="105" AY="652" BX="699" BY="57" BoxX="563" BoxY="679" />
</Project>
\ No newline at end of file
diff --git a/Examples/Example17_Hanbury_Brown_Twiss.wdproj b/Examples/Example17_Hanbury_Brown_Twiss.wdproj
index c99348e..e6d2d27 100644
--- a/Examples/Example17_Hanbury_Brown_Twiss.wdproj
+++ b/Examples/Example17_Hanbury_Brown_Twiss.wdproj
@@ -7,10 +7,10 @@
<Field ColorScheme="Yellow purple" BlackLevel="-0.05" />
<Intensity ColorScheme="Gray scales" />
</Display>
- <Source Name="Large Incoherent Source" Enabled="false" X="146" Y="520" Mode="Pulsed" OffWidth="50">
+ <Source Name="Large incoherent source" Enabled="false" X="146" Y="520" Mode="Pulsed" OffWidth="50">
<Array SizeX="11" SizeY="11" RandomFrequency="30" RandomPhase="179" RandomOffWidth="49" RandomPosition="4" />
</Source>
- <Source Name="Small Incoherent Source" X="156" Y="422" Mode="Pulsed" OffWidth="50">
+ <Source Name="Small incoherent source" X="156" Y="422" Mode="Pulsed" OffWidth="50">
<Array SizeX="11" SizeY="11" SpacingX="2" SpacingY="2" RandomFrequency="30" RandomPhase="179" RandomOffWidth="49" RandomPosition="4" />
</Source>
<GrinLens Name="Telescope 1" X="1863" Y="368" Coating="8" Length="108" />
diff --git a/Examples/Example23_Fibers.wdproj b/Examples/Example23_Fibres.wdproj
similarity index 95%
rename from Examples/Example23_Fibers.wdproj
rename to Examples/Example23_Fibres.wdproj
index 74dd7a2..ce97d43 100644
--- a/Examples/Example23_Fibers.wdproj
+++ b/Examples/Example23_Fibres.wdproj
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Version="3" Seed="1567109718">
- <Description>Simulation of 3 different fibers:
-- Top: single mode fiber
-- Middle: narrow multi-mode fiber
-- Bottom: wide multi-mode fiber
+ <Description>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.</Description>
<Scene DampingEdge="-64" RefractiveIndex="1.01" />
<Simulation Steps="6000" WaveSpeed="0.563" />
diff --git a/Examples/Example24_Fiber_cross_over.wdproj b/Examples/Example24_Fibre_cross_over.wdproj
similarity index 90%
rename from Examples/Example24_Fiber_cross_over.wdproj
rename to Examples/Example24_Fibre_cross_over.wdproj
index 416e88c..46bf4ab 100644
--- a/Examples/Example24_Fiber_cross_over.wdproj
+++ b/Examples/Example24_Fibre_cross_over.wdproj
@@ -11,15 +11,15 @@
<Source Name="Source B" Enabled="false" X="107" Y="212" Frequency="10" />
<Rectangle Name="Reflector" X="102" Y="181" Mirror="true" Length="156" Width="310" />
<Rectangle Name="Absorber" X="1827" Y="181" Absorption="93" AbsorptionRamp="90" Length="110" Width="262" />
- <Fiber Name="Fiber A" X="186" Y="150" CoreIndex="1.98" CoreDiameter="50" CladdingIndex="1.4" CladdingThickness="0">
+ <Fiber Name="Fibre A" X="186" Y="150" CoreIndex="1.98" CoreDiameter="50" CladdingIndex="1.4" CladdingThickness="0">
<Node X="-109" Y="0" OutX="67" />
<Node X="1603" Y="1" InX="-55" OutX="67" />
</Fiber>
- <Fiber Name="Fiber B" X="185" Y="213" CoreIndex="1.98" CoreDiameter="50" CladdingIndex="1.4" CladdingThickness="0">
+ <Fiber Name="Fibre B" X="185" Y="213" CoreIndex="1.98" CoreDiameter="50" CladdingIndex="1.4" CladdingThickness="0">
<Node X="-109" Y="0" OutX="67" />
<Node X="1602" Y="4" InX="-55" OutX="67" />
</Fiber>
<Probe Name="Probe along A" Layer="Intensity" Measurement="Value" Kind="Line" AX="198" AY="151" BX="1747" BY="151" BoxSize="ExtraLarge" BoxX="237" BoxY="298" AutoScaleY="false" YMin="0" YMax="0.06" />
<Probe Name="Probe along B" Active="false" Layer="Intensity" Measurement="Value" Kind="Line" AX="196" AY="212" BX="1749" BY="215" BoxSize="ExtraLarge" BoxX="1005" BoxY="297" AutoScaleY="false" YMin="0" YMax="0.06" />
- <Probe Name="Cross-fiber evanescent field" Layer="Intensity" Measurement="Value" Kind="Line" AX="1011" AY="92" BX="1010" BY="268" BoxSize="ExtraLarge" BoxX="1006" BoxY="296" />
+ <Probe Name="Cross-fibre evanescent field" Layer="Intensity" Measurement="Value" Kind="Line" AX="1011" AY="92" BX="1010" BY="268" BoxSize="ExtraLarge" BoxX="1006" BoxY="296" />
</Project>
\ No newline at end of file
diff --git a/MANUAL.md b/MANUAL.md
index 88525da..268d1d2 100644
--- a/MANUAL.md
+++ b/MANUAL.md
@@ -184,8 +184,8 @@ The File > Examples submenu: the example projects shipped with the program, most
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. **Fibers**: Simulation of 3 different fibers: top a single mode fiber, middle a narrow multi-mode fiber, bottom a wide multi-mode fiber. Includes the use of two probes, an A-B (line) field probe and a single point intensity probe.
-24. **Fiber 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.
+23. **Fibres**: Simulation of 3 different fibres: top a single mode fibre, middle a narrow multi-mode fibre, bottom a 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 Edit menu