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

Ribbon Sculpture Scroll: Metallic Ribbons That Unfurl as You Scroll

Build a scroll-driven hero around a sculpture of ninety thin twisted metallic ribbons that turns and unfurls from a tight swirl into an open bloom as the page scrolls, tilting toward the pointer, while the headline lifts away and stat cards rise in. Shaped and shaded in WebGL from code; no model calls and no media files. 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

Map data company site with a ribbon sculpture that unfolds 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 your brand, a kicker, headline, two buttons, links, up to four stats, ribbon colours and language. The Skill returns a full landing page (index.html), a section to paste into an existing site and a React component, with the bundled open fonts.

Nasıl çalışır

  1. 01

    Describe the page

    Your agent asks for the brand, a short kicker, the headline, two buttons, links, up to four stats and the palette and language, then plans the landing page after the hero: chapter words, a product console, features, specs, stats, a quote and a call to action. For example: amber house, Scent folded by hand, with amber and copper ribbons. It writes site.json; no model is called.

  2. 02

    Build the page

    With Node.js 18 or newer, run node scripts/build-web.mjs --site site.json --out site, or start from an example with node scripts/sample.mjs amber-house --out preview. The builder writes index.html, an embeddable section.html, the dependency-free ribbon-sculpture.js, RibbonSculpture.jsx for React, the CSS and the bundled fonts. --embed writes one self-contained file with both languages.

  3. 03

    Scroll, check and hand over

    In the browser a WebGL canvas draws 90 ribbons, or 54 on phones, that unfold from a tight swirl into an open bloom as you scroll. Preview with node scripts/serve.mjs site, scroll, move the pointer and narrow the window to phone width. Then hand over index.html, the embeddable section with its script and fonts, or the React wrapper.

SSS

Does Ribbon Sculpture Scroll call a model?

No. Ribbon Sculpture Scroll is pure code: HTML, one script and bundled fonts, with no model calls and no media files. The sculpture is built and shaded in WebGL from code, so it needs no API key and makes no model calls; it runs free on your machine. Your coding agent may use its own model to write the copy in site.json.

Can I load my own 3D model in Ribbon Sculpture Scroll?

No. Ribbon Sculpture Scroll generates its sculpture from one family of ribbon shapes and cannot load a 3D model. You choose two or three colours the ribbons cycle through, 20 to 160 ribbons, a ribbon width from 0.02 to 0.2 and a mirror-highlight strength from 0 to 2. Every value is checked when the page is built.

What happens without WebGL in Ribbon Sculpture Scroll?

Ribbon Sculpture Scroll needs WebGL, and version 1 is enough. Without it a blurred colour wheel stands in for the sculpture and the page still scrolls. With reduced motion turned on, the sculpture follows the scroll but drops its own slow turn and sway.

Does Ribbon Sculpture Scroll work on phones?

Yes. Ribbon Sculpture Scroll draws 54 ribbons on narrow screens instead of 90, and a swipe unfolds the sculpture. The example was checked in a 390 px phone viewport, which scrolled without sideways overflow, and in both languages, with no console errors.

What comes after the Ribbon Sculpture Scroll hero?

Ribbon Sculpture Scroll follows the hero with a full landing page from the page section of site.json: chapter titles, an intro, a product console drawn in HTML, feature cards, stats, a quote, a call to action and a footer, with a moving glow and a floating section pill. Leave page out to start from the bundled example.

Can I add the Ribbon Sculpture Scroll hero to an existing site?

Yes. Paste section.html with ribbon-sculpture.js, ribbon-sculpture.css and the fonts folder into your page, or use the RibbonSculpture.jsx React wrapper. ribbon-sculpture.js has no dependencies, and RibbonSculpture.mount(el, options) returns inspect, probe and destroy. CSS classes are prefixed rs- so they do not clash with your styles.