Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Depth Carousel: Wide Panels on a Curved 3D Arc You Drag Through

Build a full-screen hero carousel where wide picture panels stand on a curved 3D arc in front of a full-bleed backdrop: the current panel faces you, its neighbours turn away into depth, and drag, swipe, trackpad, arrow keys, buttons or thumbnails move it with momentum while a big title block changes with each panel. SandBase draws six wide pictures as one contact sheet that the Skill cuts apart, or you bring your own folder. CSS 3D only. 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

Lunar base site with wide panels on a curved 3D carousel
새 탭에서 열기

이 페이지에 접근할 수 없는 샌드박스 프레임에서 실행됩니다.

온라인에서 실행

SandBase sandbox에서 실행하고 결과를 Lab에서 확인하세요.

Lab에서 열기 ↗

얻을 수 있는 것

Bring what the panels show (or your own folder of wide pictures), a tag, kicker, title and line per panel, your brand, 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.

작동 방식

  1. 01

    Write site.json and preview

    Depth Carousel asks for what the panels show, brand, links, and per panel a tag, kicker, title, line of text and alt text, then writes site.json with copy.items in picture order. arc.spread, depth, turn and autoMs shape the arc. node scripts/sample.mjs farside-base --site site.json --out preview builds a free preview. Node 18 and ffmpeg are needed, with no npm dependencies.

  2. 02

    Generate a sheet or use photos

    node scripts/generate.mjs --theme with the six subjects calls SandBase gpt-image-2 for one 2 by 3 contact sheet after the estimate is accepted and --confirm-real is passed. The cutter splits it at white gutters into panels about 1.58:1, 1600 px wide by default. With your own pictures, build-web.mjs --photos takes a folder of 3 to 12 wide images.

  3. 03

    Serve and drive the arc

    node scripts/serve.mjs run/site opens a local preview. Drag and release to see the arc keep momentum and settle on the nearest panel, use the arrows, round buttons and thumbnails, and wait for the automatic advance. The backdrop should crossfade and the title block change each time. Output includes index.html, section.html, depth-carousel.js, depth-carousel.css, landing.js, fonts and panels.

FAQ

What does Depth Carousel build?

Depth Carousel builds a full-screen hero where wide picture panels stand on a curved 3D arc in front of a full-bleed backdrop. The current panel faces you while its neighbours turn away and sink into depth. A big title block with a tag, kicker, condensed title, text line and button follows the current panel, and a full landing page follows the hero.

Is Depth Carousel image generation paid?

Yes, only for generate.mjs. Depth Carousel calls the SandBase gpt-image-2 model for each contact sheet and bills your SandBase account through the sandbase CLI login or SANDBASE_API_KEY. The agent shows the estimate first, nothing is spent without --confirm-real, and --budget-usd caps the run. Samples, photo builds and serve are free. Pricing is at https://www.sandbase.ai/pricing.

How do visitors move the Depth Carousel?

Depth Carousel follows a dragging hand or finger exactly and keeps a little of the flick's speed on release. Horizontal trackpad scrolling, the arrow keys, the round buttons and the thumbnails step it. Vertical mouse-wheel scrolling scrolls the page instead. The default advance happens after nine seconds without input, and autoMs set to 0 turns it off.

Does Depth Carousel use WebGL?

No. Depth Carousel uses CSS 3D only. depth-carousel.js has no dependencies, and DepthCarousel.mount(el, options) returns inspect, go and destroy for embedding. Its CSS classes are prefixed dc-.

Which sample sets come with Depth Carousel?

Depth Carousel ships farside-base, six lunar base matte paintings on a black page, and alpine-huts, six mountain hut photographs for an alpine hut network. sample.mjs downloads either, checks its SHA-256 and builds a page in English and Chinese.

What are the limits of Depth Carousel?

Depth Carousel needs contact sheets with gutters at least 96 percent near-white. Pictures that are not about 1.58:1 are cropped to fit. It is not for video, 3D models or photos of real people, and with prefers-reduced-motion the arc jumps to the chosen panel and never advances on its own.