Skip to content

Lens methods

ZhengLyuFelix edited this page Nov 30, 2020 · 8 revisions

The point of the optics directory. An example of some ray trace and lens illustrations. Spherical lenses.

lensC class

  • lens.fileRead
  • lens.fileWrite

Lens scaling

More details about lens scaling can be found here

  • lensC.scale

Drawing a lens

  • lensC.draw

Ray trace through a lens

Computing focus

  • lensFocus
  • lensC.autofocus

rayC class

surfaceC class

Clone this wiki locally