Appendix — Examples
This appendix is a faithful conversion of Section 7 of the provisional manual
(KrakenOS/Docs/USER_MANUAL_KrakenOS_Provisional.pdf, pages 29–90). Each
example has its own page with a short description, the figures from the PDF,
and a literalinclude of the corresponding script under
KrakenOS/Examples/.
The authors of the manual recommend practicing with these scripts as the fastest way to learn the library.
- 7.1 Example — Ray
- 7.2 Example — Perfect Lens
- 7.3 Example — Doublet Lens 3D Color
- 7.4 Example — Doublet Lens Tilt
- 7.5 Example — Doublet Lens (Paraxial Calculations)
- 7.6 Example — Doublet Lens Tilt Nulls
- 7.7 Example — Doublet Lens NonSec
- 7.8 Example — Doublet Lens Zernike
- 7.9 Example — Doublet Lens Tilt NonSec
- 7.10 Example — Doublet Lens Pupil
- 7.11 Example — Doublet Lens Commands System
- 7.12 Example — Doublet Lens Pupil + Seidel
- 7.13 Example — Doublet Lens Cylinder
- 7.14 Example — Axicon
- 7.15 Example — Axicon and Cylinder
- 7.16 Example — Flat Mirror 45 Deg
- 7.17 Example — Parabolic Mirror Shift
- 7.18 Example — Diffraction Grating in Transmission
- 7.19 Example — Diffraction Grating in Reflection
- 7.20 Example — Tel 2M Spyder Spot Diagram
- 7.21 Example — Tel 2M Spyder Spot, M2 Tilt
- 7.22 Example — Tel 2M Pupila
- 7.23 Example — Tel 2M Error Map
- 7.24 Example — Tel 2M Wavefront Fitting
- 7.25 Example — Tel 2M STL Image Slicer
- 7.26 Example — Tel 2M Atmospheric-Refraction Corrector
- 7.27 Example — ExtraShape Micro Lens Array
- 7.28 Example — ExtraShape Radial Sine
- 7.29 Example — ExtraShape XY Cosines
- 7.30 Example — MultiCore
- 7.31 Example — Solid Objects STL Array
- 7.32 Example — Source Distribution Function