Search code examples
simulationraytracing

2D optical ray tracing


I am working on program that demonstrate how various lens works and for that I needed a 2D ray tracing library or algorithm.

I searched for ray tracing and mostly found things that uses to create a scene in 3D, while my requirement is a simple interactive lens simulation.

So any point towards 2D ray tracing algorithm or library is welcome. I am using Python.


Solution

  • I started this group because I'm interested in this kind of thing,

    http://groups.google.com/group/python-ray-tracing-community/web/list-of-python-statistical-ray-tracers .

    Here you will find a (non-exhaustive) list of python ray tracers that should point you in the right direction. I also have a ray tracer written in Python that does what you need but it has not yet been released!