Subject Over Type: a Floating Product in Front of Giant Words That Scroll Past
- Skill del Lab
- v0.2.0
- Web design
Build a scroll-driven hero where one cut-out subject (a koi, a helmet, a sneaker) floats in front of giant words that slide past behind it, one word per screen, while the subject bobs, turns with the scroll and leans away from the pointer. SandBase generates the subject on a plain white backdrop and the Skill removes the backdrop itself, or you bring your own transparent PNG. 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.
Esempi · 2

Funziona in un frame isolato, senza accesso a questa pagina.
Esegui online
Eseguilo in un sandbox di SandBase e visualizza i risultati in Lab.
Apri in Lab ↗Cosa ottieni
Bring a subject to show (or your own transparent PNG), the words, your brand, copy, links 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 subject as a transparent PNG and the bundled open fonts.
Come funziona
- 01
Pick a subject and giant words
Subject Over Type's agent asks for one subject or your own picture, 2 to 10 short words, ideally four to seven letters or two Chinese characters, one note per word, brand, links, palette and language. site.json also sets subjectHeight from 30 to 95 percent of the screen and a motion block for bob, sway, parallax and wordParallax.
- 02
Generate on white or bring a cutout
node scripts/sample.mjs koi-house --site site.json --out preview builds free from a checked koi. generate.mjs --subject with --confirm-real asks SandBase for a gpt-image-2 subject on plain white, then build-web.mjs floods the backdrop from the border and un-mixes edge colours so no fringe shows. Own pictures use --subject photo.png or --cutout. Node.js 18+ and ffmpeg are needed.
- 03
Scroll the words and check edges
The output holds index.html, section.html, subject-type.js returning inspect and destroy, st- prefixed CSS, landing.js, fonts and media/subject.png up to 1400 px wide. Check the cut edge in that PNG, then scroll the page in node scripts/serve.mjs run/site. If the builder warns the subject touches an edge, regenerate with more room around it.
FAQ
What does Subject Over Type make?
Subject Over Type makes a scroll hero where one cut-out subject, such as a koi, a helmet or a sneaker, floats in front of giant words that slide past behind it, one word per screen of scroll. The subject bobs, turns with the scroll and moves against the pointer more than the words, and a short note under it changes with each word.
Does Subject Over Type charge for a new subject?
Yes, when you generate one. Subject Over Type's generate.mjs calls gpt-image-2 through the sandbase CLI or SANDBASE_API_KEY, billed to your SandBase account. The agent quotes the estimate, the call needs --confirm-real and --budget-usd caps spending; rates are at https://www.sandbase.ai/pricing. Using a sample or your own picture is free.
Can I use my own photo in Subject Over Type?
Yes. Subject Over Type uses a transparent PNG as it is with --cutout, or keys a picture on a plain, flat backdrop that differs from the subject's outline with --subject. --tolerance sets how far from the backdrop colour still counts as backdrop, from 0 to 255 per channel. It is not for photos of people.
Why is a gap inside my Subject Over Type subject still filled?
Subject Over Type removes the backdrop by colour with a flood fill from the border, so holes that show the backdrop, between fins or inside handles, stay opaque unless they connect to the edge. White subjects on white work only where they have an outline or shading; otherwise ask for a coloured backdrop.
Can Subject Over Type words be wider than the screen?
Yes. Subject Over Type's giant words are meant to be cut off by the screen edges as they cross from right to left. Short words still fit best, so the subject does not hide the whole word as it slows down behind it.
Does Subject Over Type work on phones?
Yes. Subject Over Type slides the words past with a swipe, and a 390 px phone viewport scrolled without sideways overflow in the headless check. With reduced motion turned on, the words sit centred and the subject stays still.
Altri Skills
Tutti gli Skills Web design →
Baked 3D Story Site
A three-page 3D story site with baked light, scroll stops that loop and a shader cut between pages, in one offline file.

UI Finishes
Metal, jewel, halo, roll, fill, offset and ring buttons, media cards, glass and textures, each checked in rest, hover, focus and pressed for real contrast.

Headline Motion
Headlines, labels and numbers that rise, decode, type, rotate, count and draw themselves without moving the layout, measured in a real browser.

Scroll Chapters
Long pages told chapter by chapter: a pinned stage, sliding panels, a text crawl, lit paragraphs, stacking cards and drifting columns, checked in a real browser for dead scroll.

Scroll 3D Product Site
A complete product website where scroll turns, opens and takes apart a live 3D model, with every video and image rendered from that model, in one offline file.

Landing Page System
A complete single-file landing page with a conversion structure and a shared visual system, checked by a rendered-page audit before delivery.
