r/ClaudeCode • • 5d ago

Built with Claude 4 scroll-driven gsap sites built with claude code: the process and the prompts

tl;dr: one idea per site, plan it in screens of scroll, one gsap timeline tied to the scroll, turn every rule into a browser check, then polish on a real phone. kelvin came first and set the template; sum, meridian and datum were built end to end by claude code on top of it. those three are free and open source (links at the end).

the four

kelvin: a portrait studio. scrolling turns a white-balance dial, from 3200k tungsten to blue hour

sum: a shop for one watch. it comes apart into its 147 parts, each one counted, and goes back together

datum: an architecture practice. a drawing is drawn and becomes the house standing on it

meridian: delivery tracking software. one zoom from the whole earth down to a single door

how they started (my actual prompts)

kelvin:

> an agency-grade site for a photography studio. layered and masked images, a model whose look changes as you scroll, a cinematic entrance, images that assemble themselves

claude code turned that into one idea: scrolling turns a white-balance dial, from warm tungsten to blue hour.

sum:

> cinematic explosion and view, something like 3d with explosion, then slow down, zoom in, pans, individual component etc. nice and crispy, with rotations if possible. work on phones even if a bit different

how kelvin was made (the template for the rest)

images (fal.ai, ~$6): one base portrait from gpt image 2.6, then three relit copies with its edit mode ("relight this exact photograph, keep every edge in the same position, change only the light"). no relighting in code: four photos that line up to the pixel, and scroll blends between them. birefnet cut-outs give a matte of the model (so the type sits behind her) and a kit flat lay that splits into 13 pieces that assemble.

gsap: no scrolltrigger. a small "director" reads the scroll each frame and drives paused timelines, pins are plain position: sticky, and everything is timed in screens of scroll so it plays the same both ways. one webgl2 canvas does the transitions between lights.

controls: arrow buttons and keys as well as scroll. tap to jump to the next scene, hold to play.

checks: puppeteer checks every scene on desktop and phone, in chrome and safari's engine. then a real iphone caught what the checks didn't: a gsap quickSetter on scale threw every frame on its older engine and killed the last scene.

sum, meridian and datum reused all of it: one idea, a score in screens of scroll, their own copy of the director and their own browser check. sum draws the watch in webgl2 from photos of its parts, meridian draws its map in canvas from real map data, and datum measures its drawing from its own photograph.

what went wrong (the useful part)

datum is a drawing that becomes a building, and for the whole first build no line was ever actually drawn: each one just appeared. every still looked right and every check passed, because "nothing half drawn at a pause" is true of a line that's never half drawn. we found it by breaking the page on purpose and seeing the check didn't care. lesson: a check means nothing until you've seen it fail.

to make one yours, paste this into claude code:

I'm adapting the [Sum / Meridian / Datum] GSAP site in [folder] to [my product / my data / my building].

Change only: [what]. Keep the score's shape, the scroll director, the step buttons and

arrow keys, and the rule that words and picture never share room.

Every word and number goes in content.ts. Anything measured from a picture is measured

by the scripts, never typed in.

After each change, build for production and run the site's check on a wide window and

a phone shape. Show me full-size frames of every rest before you call it done.

sites: https://www.aimdropin.com/gallery/gsap

code: https://github.com/akellaluvlace/aimdropin

0 Upvotes

19 comments sorted by

•

u/AutoModerator 5d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/freenow82 5d ago

This is so cool, gives me lots of ideas. Thanks for sharing!

1

u/AkellaArchitech 5d ago

appreciate the feedback, there's more ui ux on aimdropin.com free welcome to use cheers!

1

u/AppealSame4367 5d ago

The problem is, my friend, that every Claude site looks like this. 10 years ago you would've won a website design award for this (and people did). But now it's just obnoxious, the same like every other AI made page. You can use Opus or Fable, but it still looks like AI, just their AI style.

Hire a designer or use a tool and or more creative ideas for new fonts, animations and layout if you wanna stick out.

1

u/riccioverde11 5d ago

he has 10 years of experience of swe he knows what he is doing

1

u/AppealSame4367 5d ago

I have 30 years. Do I play this right?

1

u/riccioverde11 5d ago

No you got to say that you are a SWE for X years and that you know what you are doing and that the many hours wasted on tokens are real big boi effort

1

u/AppealSame4367 5d ago

I think I dont get it. But, anyway. Have fun and proceed

1

u/AkellaArchitech 4d ago

sorry mate your whole reply is off. youre contradicting yourself saying 10 years ago this wouldve won a website design award and now its just obnoxious ai slop. you know how dumb that sounds? it doesnt even matter if im swe or not, i never claimed im web designer. i put out something i made with ai on claude code reddit and you talking shit how its made with ai.

1

u/AppealSame4367 4d ago

My criticism is not to rain on your parade or to criticize AI use per se, but that it looks too much like Claude.

What I meant was: 10 years ago this would have been excellent, but now it's overused.

Work on making it look less like "typical Claude look" a bit and you will have better chances of selling it.

0

u/mrpoopistan 5d ago

Right down to the Claude orange. OMFG.

0

u/AkellaArchitech 4d ago

OMFG right? Claude orange that i mistakingly took for kelvin temp. thanks for pointing out my retardness.

-3

u/riccioverde11 5d ago

Nobody cares it's gsap or bubu, don't use Claude to write titles for slop content pls

4

u/AkellaArchitech 5d ago

this is claude code reddit? the build is with help of claude code post is mine, the fuck is your problem?

-3

u/riccioverde11 5d ago

Tired of over slop

2

u/AkellaArchitech 5d ago

hows is this slop mate explain please? i'm SWE for 10+ years. shared something i made in claude code for anyone interested. i'd take me months to make by hand, with claude code it took days. if that's slop for you pls show me your work so i know the benchmark not even being sarcastic fr.

-2

u/riccioverde11 5d ago

If you can't see it I can't teach it. When I saw it , it insta yelled ai to me.