Caustic Lens Generator (Yunyi Zhu)
Free browser tool that turns a grayscale image into a clear lens that projects it in sunlight, as OBJ
Caustic Lens Generator (Yunyi Zhu) is a free browser tool for a clear lens that shows a hidden picture in sunlight. Free, no account, runs in your browser. Exports OBJ. Last checked .
Opens yunyi-zhu.github.io
About this generator
The Caustic Lens Generator turns a grayscale image into a 3D-printable refractive lens. The lens has a flat top and a shaped relief underneath. When sunlight passes through the clear print, the relief bends the light into a bright copy of your image on a surface held at the focal distance you chose. It is based on a 2014 research paper on caustic design, and the maker, Yunyi Zhu of MIT, built it to draw images on photochromic sheets with the sun.
You drop in an image, which is cropped to a square, and set the lens size, focal distance and base thickness, with an option to invert it. The mesh resolution and the number of solver sites decide how much detail survives: the page says the recommended print settings take about 8 to 12 minutes in the browser, while the preview settings finish in about a minute but only keep coarse shapes. The result panel shows a height map, the footprint, total height and relief depth, and warns when the relief punches through the flat face. A link opens an outside ray-tracing simulator to preview the light pattern.
The download is an OBJ in millimeters. The guide says to print it in clear resin, polish it and place the target surface at the focal distance below the relief. It is free, needs no account and runs entirely in the browser, so nothing is uploaded. The source code is public on GitHub, but the repository has no license file. It suits makers with a resin printer who want an unusual print that shows a picture only in the right light.
What you can make
- Caustic lenses that project an image in sunlight
- Lenses from 5 to 200 mm across
- Light-drawing lenses for photochromic sheets
How to use Caustic Lens Generator
- Drop in a grayscale image with clear bright shapes
- Set the lens size, focal distance and base thickness
- Generate at preview settings first, then at print settings
- Download the OBJ, print it in clear resin and polish it
What you'll need to print it
Filament and parts that suit what you make with Caustic Lens Generator.
Resin
- Siraya Tech Fast ABS-like Resin (affiliate link) Siraya Tech
- Siraya Tech Blu Tough Resin (affiliate link) Siraya Tech
Multicolor PLA
Matte PLA
- Bambu Lab PLA Matte (affiliate link) Amazon
- Polymaker Panchroma Matte PLA (formerly PolyTerra) (affiliate link) Polymaker EU: 3DJake (affiliate link)
Code gives 15% off your first order at Polymaker.
Some of these are affiliate links: we may earn a small commission, at no extra cost to you. More about that
Caustic Lens Generator pros
- Turns a grayscale image into a working caustic lens
- Shows the relief depth and warns when the lens would be too thin
- Free, no account, and nothing leaves your browser
Caustic Lens Generator cons
- OBJ only, and the print needs clear resin and polishing
- Detailed lenses take about 8 to 12 minutes to compute
Rate Caustic Lens Generator
One rating per account. Signing in takes one email link, no password.
Reviews
Made with Caustic Lens Generator
Read next
Caustic Lens Generator alternatives
Image to STL and relief generators
Image to Relief
Glintmake Image to STL Converter
Turn a PNG or JPG into a relief, an extruded logo or a lithophane STL, built in your browser
Image to Relief
AutoForge
Open-source optimizer that picks filament colors and swap layers for a HueForge-style picture print
Image to Relief
MakerTools3D
Turns PNG and JPG images into multicolor 3MF plates, keychains and decals
Image to Relief
SculptOK
AI turns a photo into a depth map, then into a relief or lithophane STL to print
Image to Relief
Spectrum Forge
Photo to a four-filament color 3MF in HueForge-style, toolchanger paint or backlit litho mode; first export free
Image to Relief
Image2STL
Free image to STL in your browser: relief, lithophane, silhouette cutout or SVG extrusion, no account