Live Caustics Playground

Live Caustics Playground#

Here is a little online simulator run using caustics! It’s slow because it’s running on a free server, but it’s a good way to play with the simulator without having to install anything.

Pro tip: check out the “Pixelated” source to lens any image you want!

If the window doesn’t show up just follow this link: caustics-webapp

For frequent simulator users (e.g., if you plan on exploring the parameter space of a lens), we recommend installing the simulator locally and running it in your browser. Follow the steps below:

  1. Install caustics. Please follow the instructions on the install page.

  2. pip install streamlit

  3. git clone https://github.com/Ciela-Institute/caustics-webapp.git

  4. Move into the caustics-webapp/gui/ directory and run the following command: streamlit run streamlit_app.py --server.enableXsrfProtection=false

If you were successful in installing the simulator, Step 4 should automatically open the simulator in your default browser.