Skip to content

Add dolly zoom demo#13

Open
itamarwe wants to merge 4 commits into
masterfrom
claude/dolly-zoom-demo-NU6rr
Open

Add dolly zoom demo#13
itamarwe wants to merge 4 commits into
masterfrom
claude/dolly-zoom-demo-NU6rr

Conversation

@itamarwe

Copy link
Copy Markdown
Owner

A standalone Three.js scene at /dolly-zoom/ illustrating the dolly-zoom
(Vertigo) effect: as the slider goes from 1x to 20x, the camera dollies
back while the FOV narrows so the foreground person stays the same size,
making the second person 100 m behind appear to grow and the surroundings
compress.

https://claude.ai/code/session_01RP9ampBVGD5N2FU2eABDUx

claude added 4 commits April 29, 2026 06:16
A standalone Three.js scene at /dolly-zoom/ illustrating the dolly-zoom
(Vertigo) effect: as the slider goes from 1x to 20x, the camera dollies
back while the FOV narrows so the foreground person stays the same size,
making the second person 100 m behind appear to grow and the surroundings
compress.

https://claude.ai/code/session_01RP9ampBVGD5N2FU2eABDUx
- Vendor three.module.js (r160) so the demo works without external CDN
  access and renders reliably in headless environments
- Offset the second person 1.4 m sideways so they peek out behind the
  foreground subject and remain visible at every zoom level
- Push side trees out to a min 8 m offset to keep a clear corridor down
  the path for the second person at narrow FOVs

https://claude.ai/code/session_01RP9ampBVGD5N2FU2eABDUx
- preview.gif: animated 1x->20x->1x sweep (~12 fps ping-pong)
- preview-strip.png: 2x3 contact sheet at 1x, 2x, 4x, 7x, 12x, 20x

Useful as static previews where WebGL or an interactive page isn't
available.

https://claude.ai/code/session_01RP9ampBVGD5N2FU2eABDUx
Single 660 KB HTML file with three.js (r160 minified) inlined and loaded
through a blob URL via dynamic import — no importmap or external network
needed. Suitable for pasting into a Claude.ai conversation as an artifact.

https://claude.ai/code/session_01RP9ampBVGD5N2FU2eABDUx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants