Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Reaching Hands Scroll: Two Hands That Meet as You Scroll

Build a scroll-driven hero where two hands reach in from the sides as the page scrolls (a human hand from the left, a robot hand or a paw from the right) until their fingertips meet in the middle like the Creation of Adam, while a ring of light grows between them and flares when they touch, the title rises in and the pointer makes both hands lean toward it. SandBase draws the two hands as one sheet that the Skill cuts out and finds each fingertip in, or you bring your own two transparent PNGs. The hero is followed by a full landing page: chapter titles, an intro, a product console drawn in HTML, feature cards, specs, stats, a quote, a call to action and a footer, with a moving glow and a floating section pill.

Örnekler · 2

Robotics hero where a human hand and a robot hand meet at the fingertips as you scroll
Yeni sekmede aç

Bu sayfaya erişimi olmayan sandbox'lanmış bir çerçevede çalışır.

Çevrimiçi çalıştır

Bir SandBase sandbox'ında çalıştırın ve sonuçlarınızı Lab'de görüntüleyin.

Lab'de aç ↗

Neler elde edersiniz

Bring the two hands (who reaches from each side, or your own two cut-outs), a kicker, the two title lines, a line of copy, chips, a button, links, palette and language. The Skill returns a full landing page (index.html), a section to paste into an existing site, the runtime script and stylesheet, the cut-out hands and the bundled open fonts.

Nasıl çalışır

  1. 01

    Describe both hands and the page

    Reaching Hands Scroll starts from a site.json with brand, palette, copy and a reach block: start for the fingertip distance from centre, meet for the scroll share where they touch, plus size, lean and screens. The agent also plans the page after the hero: chapter words, a product console, three features, stats, a quote and a call to action, with realistic names and numbers.

  2. 02

    Preview free, then generate one sheet

    node scripts/sample.mjs synapse-lab --site site.json --out preview builds from a ready-made, SHA-256 checked sheet for free. generate.mjs --theme with --confirm-real asks SandBase for one 4k gpt-image-2 sheet of two hands on pure green, keys it out, splits them and finds each fingertip. With your own cut-outs, build-web.mjs --hands left.png right.png skips generation. Node.js 18+ and ffmpeg are required.

  3. 03

    Scroll the result until tips meet

    The output folder holds index.html, section.html, reaching-hands.js with a mount call returning inspect and destroy, rh- prefixed CSS, landing.js, Geist and Instrument Serif fonts and the two hand PNGs; --embed adds one self-contained HTML file. Open it with node scripts/serve.mjs run/site, scroll slowly until inspect().touched turns true and the ring flares, and move the pointer to see both hands lean.

SSS

What does Reaching Hands Scroll make?

Reaching Hands Scroll makes a pinned hero where a human hand enters from the left and another hand, such as a robotic hand or a dog's paw, enters from the right as you scroll. Their fingertips meet in the centre, a ring of light flares, the title rises and a full landing page follows. The two shipped pairs are synapse-lab and pawpal.

Does Reaching Hands Scroll cost anything to run?

Only generation is billed. Reaching Hands Scroll calls gpt-image-2 through the sandbase CLI or SANDBASE_API_KEY for one 4k sheet, and that call is charged to your SandBase account. The agent quotes the estimate first, nothing is sent without --confirm-real, and --budget-usd sets a spending cap; rates are at https://www.sandbase.ai/pricing. Samples, own PNGs and serve.mjs make no paid call.

Can I use my own hand pictures with Reaching Hands Scroll?

Yes. Reaching Hands Scroll's build-web.mjs takes two transparent PNGs with --hands, the left hand first, or a single sheet on a flat key colour with --sheet. It finds each fingertip as the innermost point of each picture, so a hand whose wrist sticks out further than its finger will meet at the wrist instead.

Does Reaching Hands Scroll use WebGL?

No. Reaching Hands Scroll moves the hands with HTML and CSS transforms on a smoothstep curve, and reaching-hands.js has no dependencies. When prefers-reduced-motion is on, the ring stops spinning and the hands no longer lean toward the pointer.

Why do the fingertips in Reaching Hands Scroll meet too early?

Reaching Hands Scroll needs the number of screens set in reach.screens, between 2 and 6, of scroll inside the section. On a very short page the section cannot scroll that far, so the tips meet sooner. Raise screens or adjust meet, which accepts 0.4 to 0.95 of the section's scroll, and the build validates both values.

Can Reaching Hands Scroll show photos of real people?

No. Reaching Hands Scroll is not for video or photos of real people's faces. Its sheet must hold exactly two subjects on a flat key colour, pure green by default, with the left one pointing right and the right one pointing left at about the same height, so hands and paws are the intended subjects.