scroll-scrubbed-object-handoff

Created 18 minutes ago

attributes
additional_license_urlshttps://github.com/MengTo/Skills/blob/2f8cb46167bec49ee3c4a6ca37972fc065b6b47e/agent-skills/web-design/scroll-scrubbed-object-handoff/demo/assets/Font-LICENSE.txt, https://github.com/MengTo/Skills/blob/2f8cb46167bec49ee3c4a6ca37972fc065b6b47e/agent-skills/web-design/scroll-scrubbed-object-handoff/demo/assets/Three-LICENSE.txt, https://raw.githubusercontent.com/vercel/geist-font/ef2597cfc42f4797676df105517ccc0a1cfa6569/OFL.txt
descriptionChoreograph a reversible scroll handoff between layered illustrations, transforming a held object into multiple moving pieces that land in a second scene.
import_scopesignals-cleared-supporting-files
licenseMIT
license_urlhttps://github.com/MengTo/Skills/blob/2f8cb46167bec49ee3c4a6ca37972fc065b6b47e/LICENSE
namescroll-scrubbed-object-handoff
publisherMengTo
repository_urlhttps://github.com/MengTo/Skills
source_urlhttps://github.com/MengTo/Skills/blob/2f8cb46167bec49ee3c4a6ca37972fc065b6b47e/agent-skills/web-design/scroll-scrubbed-object-handoff/SKILL.md
upstream_copyrightCopyright (c) 2026 Meng To, Copyright (c) 2023 Vercel, in collaboration with basement.studio, Copyright © 2010-2026 three.js authors, Copyright 2026 The Geist Project Authors (https://github.com/vercel/geist-font)
upstream_revision2f8cb46167bec49ee3c4a6ca37972fc065b6b47e

Scroll-Scrubbed Object Handoff

Measure the giving hand, receiving hand and destination, then calculate every layer from a single normalized scroll position. A shared source and destination make seven separate coins read as the same transferred advance.

Extracted from the Folvra studio ledger. Open the working example and its recreation prompt.

Register the contact

Keep arms, carried object, foreground finger, token and destination figure as separate alpha cutouts. Extend forearms beyond the viewport. Mark the string attachment and palm support in local image coordinates. Measure those points after layout and fonts settle and whenever the container changes size. Preserve the original composition at both ends.

Set the sequence

Pin the stage while the story is traversed. For the opening give, apply smoothstep from progress .008 to .285. Maintain contact before release begins around .325. Crossfade the opening between .45 and .69, then bring in the second painting between .54 and .84. Use these values as a reference for the approved pacing.

Move the same object

Place the fan’s origin at the measured purse position. Give each token a repeatable index offset. In Folvra fan motion starts around .33 and finishes near .62; tokens start landing around .58, with the last near .93. Reduce diameter as each token enters the laptop. Alternate lean, depth and roll and keep a brief interval in which the full exchange reads clearly. Reuse the minted artwork for both the cylinder faces and flat fallback.

Make seeking reversible

Calculate position, angle, opacity and scale directly from progress. Avoid spawning coins on scroll events. Hide and disable controls that belong to the outgoing scene, then restore their keyboard order on the return journey. Provide a static beginning, tokens and destination for reduced motion. Verify the beginning, grip, fan, arrival, a fast jump and the reverse path at desktop and phone widths.

Source walkthrough

The offline demo includes its runtime and artwork. Read the corresponding production modules to adapt the behavior in another project. handoff.js, engraving.js, paint-shader.js, coin-light.js.


Copyright (c) 2026 Meng To Copyright (c) 2023 Vercel, in collaboration with basement.studio Copyright © 2010-2026 three.js authors Copyright 2026 The Geist Project Authors (https://github.com/vercel/geist-font)

The license files are attached. MIT · OFL 1.1 · MIT · OFL 1.1

The attached ZIP contains the pinned supporting files cleared for import. Applicable license notices are attached or included when cleared.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.