Free No account needed

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 .

Open Caustic Lens Generator (opens in a new tab) See alternatives

Opens yunyi-zhu.github.io

Screenshot of Caustic Lens Generator (Yunyi Zhu)

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

  1. Drop in a grayscale image with clear bright shapes
  2. Set the lens size, focal distance and base thickness
  3. Generate at preview settings first, then at print settings
  4. 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.

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

Read next

Caustic Lens Generator alternatives

Image to STL and relief generators
Screenshot of Glintmake Image to STL Converter

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

Free Browser STL New, added

Image to Relief

AutoForge

Open-source optimizer that picks filament colors and swap layers for a HueForge-style picture print

Free Browser STL · PNG Multicolor
Screenshot of MakerTools3D

Image to Relief

MakerTools3D

Turns PNG and JPG images into multicolor 3MF plates, keychains and decals

Free Browser 3MF · STL Multicolor
Screenshot of SculptOK

Image to Relief

SculptOK

AI turns a photo into a depth map, then into a relief or lithophane STL to print

Freemium Browser STL · OBJ
Screenshot of Spectrum Forge

Image to Relief

Spectrum Forge

Photo to a four-filament color 3MF in HueForge-style, toolchanger paint or backlit litho mode; first export free

Freemium Browser 3MF Multicolor
Screenshot of Image2STL

Image to Relief

Image2STL

Free image to STL in your browser: relief, lithophane, silhouette cutout or SVG extrusion, no account

Free Browser STL New, added