tried recreating Yuma Garments 's vid from scratch in three.js with claude code to learn perspective…
@simranrambles23K followers
98,680 views
7 Comments
Comments from the original post on X (Twitter)

@a1254766624
@garments__ telephoto squash → widen for depth, ink as a glsl shader — clean three.js + claude code loop which part ate the most iterations: the lens morph, or matching the ink look in the shader?
2 likes

@simranrambles
@garments__ the ink by far. the lens morph is closed-form basically hold the frame width at a focus plane and solve camera distance from fov. the ink shader had a lot to figure out cus screen-space detail crawls under camera motion, and close surfaces z-fight at 400m
1 like

@a1254766624
@garments__ ink winning over the closed-form lens morph tracks — screen-space crawl + z-fight at 400m is a nasty combo. did you stabilize with world-space noise, or just accept the crawl under camera motion?

@RocketmanSh
@garments__ how many iterations before the depth read right?
1 like

@simranrambles
@garments__ five-ish. the trick is the camera never tilts. it stays level and moves the horizon with lens shift, so verticals stay true and the flat-to-deep morph is just a dolly zoom
2 likes

@trybitgrain
@garments__ the flat orange sky with those traffic cones stacked in rows reads like a screenprint already. ink lines as a shader is such a nice way to learn it too

@1uprish
@garments__ share