scale dive

AI UI component · a prompt for Claude, Codex and Cursor

pro

Get the prompt, project and Figma file with monthly ($29 a month) or yearly ($249 a year). Plus tax where it applies.

A full-window journey you scroll through: an endless spiral fall through twelve scales of reality, each one ×24 deeper than the last. The cosmic web's violet filaments wind into a galaxy, an arm resolves into stars, one star opens into its planets, a planet with oceans, clouds and night-side cities, then open ocean and a reef from the air, sunlit shallows full of plankton, a glass diatom, the inside of a cell, a DNA helix, an atom's orbitals, and Planck-scale quantum foam whose bubbles open back onto the cosmic web. Every world is drawn procedurally in one fragment shader, no textures: the next one waits inside a portal at the centre and is revealed along a shape the two share (a spiral, rings, a network or cells), traced by a coloured front, while a funnel twist turns the whole view. A lens pass adds fisheye, spiral refraction, chromatic aberration, radial blur and light streaks that grow with the fall speed, plus bloom, vignette and film grain. Over it sits a quiet HUD in Geologica: the world's name, one line of story and its formula in STIX Two Text italic, an index of the twelve worlds with their powers of ten, a cycle counter in Roman numerals and a dial from 10²⁵ down to 10⁻³⁵ m whose needle keeps turning as the loop closes. A deep ambient drone, synthesised in Web Audio, glides to a new chord at every world. Wheel, swipe, arrow keys or the number keys drive it; reduced motion stills the turning and the lens.

what you get

prompt
Paste it into Claude, Codex, Kimi or Cursor to rebuild this template. Tested: we rebuild every template from its prompt before it goes live.
project
The Vite + React source code as a .zip, ready to run.
figma file
The editable design as a .fig file to import into Figma.

what's inside

  • scroll zoom
  • infinite zoom
  • powers of ten
  • webgl shader
  • procedural worlds
  • portal transition
  • bloom
  • lens distortion
  • chromatic aberration
  • film grain
  • scale dial
  • world index
  • captions
  • ambient sound
  • web audio
  • sound toggle
  • keyboard control
  • touch support
  • adaptive resolution
  • reduced motion

stack

  • react
  • vite
  • typescript
  • three
  • webgl2
  • web audio

fonts

Geologica, STIX Two Text

Free fonts, linked in the prompt.

colors

  • #040408
  • #EFEBE2
  • #B394FF
  • #4D2A9E
  • #3A7BD5
  • #1F8A99

license

With monthly or yearly: personal and commercial work, client projects included. Don't resell or share the template, prompt or files.

read the license