Interactive Lens Focus Lab

By @chudry223. Made with Claude Opus 5.5. Watch the original post.

Remake prompt (written by Lumpong Automated)

Build an interactive 3D camera lens lab in one HTML file with Three.js and custom shaders. For the recorded demo, show a 32-second landscape (1280x720) screen capture of the lab in use.

The scene: a dark studio bench with a low-poly diorama (a lit wooden cabin, bright green pine trees, a grassy slope and pale grey mountains with snow caps against a blue sky) on a base, an exploded camera lens assembly in the blurred foreground on the left, and a monitor on the right. Draw white ray lines from the diorama through the lens, and a translucent vertical grid plane marking the plane of focus with a glowing edge.

UI: top-left title 'THE PLANE OF FOCUS' with 'OF FOCUS' in cyan, a short explanatory paragraph, and readouts Focus 82 cm, Aperture f/2, Sharp zone 3.6 cm. Top-right panel: Focus buttons (Foreground, Middle, Background), a Distance slider, Aperture buttons f/2, f/5.6, f/16, and Lens toggle Assembled or Exploded. Show real-time depth of field blur that moves as the focus changes. Use a teal and amber glow on a near-black blue palette.

Browse all 1008 videos