Infinite Canvas Gallery: Picture Cards on a Canvas with No Edges
- Навык Lab
- v0.1.0
- Web design
Build a portfolio hero where picture cards are tiled over a canvas with no edges: drag, swipe or trackpad-scroll in any direction and it keeps the flick and glides to a stop, zooms out a little and splits each card into red and blue edges while it moves fast, wraps around so there is always more, drifts on its own and opens a card full size on click. SandBase draws twelve pictures as one contact sheet that the Skill cuts apart, or you bring your own folder. 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.
Примеры · 2

Работает в sandbox-рамке без доступа к этой странице.
Запустить онлайн
Запустите в SandBase sandbox и смотрите результаты в Lab.
Открыть в Lab ↗Что вы получите
Bring what the cards show (or your own folder of pictures), a caption per picture, a headline, a line of copy, 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-apart pictures and the bundled open fonts.
Как это работает
- 01
Plan the cards and copy
Infinite Canvas Gallery asks what the cards show, or for your own folder, plus brand, headline, one line of copy, links, the button, a caption per picture, palette and language. It writes site.json, where canvas.tile runs 0.12 to 0.4 of the screen width, gap 0 to 0.08 and drift 0 to 1 px per frame. node scripts/sample.mjs northlight --site site.json --out preview previews for free.
- 02
Generate or bring pictures
node scripts/generate.mjs --theme "<twelve subjects, row by row>" --site site.json --out run, then again with --confirm-real, calls gpt-image-2 through SandBase for one 3 by 4 contact sheet at 4k and cuts it apart at the white gutters. With your own pictures, node scripts/build-web.mjs --photos <dir> --site site.json --out site takes 6 to 40 files for free.
- 03
Drag, flick and check
node scripts/serve.mjs run/site serves the page. Drag and flick in every direction, click a card, press Escape and leave it to drift. Card slots wrap around and pick pictures from their absolute grid position; fast motion zooms out up to 9% and splits card edges red and blue. The verified example used 12 pictures in 56 slots with 10 sections after the hero.
FAQ
Is Infinite Canvas Gallery billed on SandBase?
Infinite Canvas Gallery is billed only when generating. It calls gpt-image-2 through SandBase for one contact sheet, billed to your SandBase account. The agent quotes the estimate before generating, generate.mjs spends only with --confirm-real, and --budget-usd caps it. Building from your own folder or a sample set is free. Rates are at https://www.sandbase.ai/pricing.
Does Infinite Canvas Gallery need WebGL?
No. Infinite Canvas Gallery is HTML and CSS transforms. With prefers-reduced-motion the canvas does not drift, zoom or split colours, but dragging still works.
Why does my mouse wheel scroll the page in Infinite Canvas Gallery?
Infinite Canvas Gallery leaves a plain vertical wheel to the page so the landing page below still scrolls. Horizontal or shift scrolling moves the canvas. On a phone, vertical swipes scroll the page and horizontal swipes move the canvas, which was checked in a 390 px viewport.
What pictures work in Infinite Canvas Gallery?
Infinite Canvas Gallery shows 4:3 cards and crops other shapes to fit. Contact sheets need white gutters, because the cutter looks for rows and columns that are at least 96% near-white. copy.captions needs one caption per picture in every language.
What does Infinite Canvas Gallery output?
Infinite Canvas Gallery writes index.html, section.html, infinite-canvas.js with no dependencies, infinite-canvas.css with ic- prefixed classes, landing.js, a fonts folder and a cards folder of JPEGs, 1200 px wide by default. InfiniteCanvas.mount(el, options) returns inspect, open, close and destroy.
Больше Skills
Все 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.
