3D Shard Morphing
- Skill del Lab
- v0.1.1
- Interactive 3D
A live 3D scene in your browser: 32,000 dark glass shards crack, burst and fly into a storm, a cathedral and a whale over a sunset sea.
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 theme, a subject and the forms the shards should take. The Skill returns a downloadable Skill (meta prompt, lessons, verification) and a runnable reference scene.
Come funziona
- 01
Fill the theme slots
Obsidian Shards needs three slots, theme, subject and shapes, plus optional palette, interaction, sounds, background and extraPrompt, each a string of at most 2000 characters. node <skill>/scripts/fill-prompt.mjs --slots slots.json --lang en --out prompt.md renders the meta prompt for your coding agent. assets/prompts/examples/sunset-loop.json is the slots file of the example.
- 02
Swap the form generators
node <skill>/scripts/new-project.mjs --out my-scene copies the reference app: instanced shards, the GPU morph, shape generators, a Voronoi crack shader, a sunset sky, a mirror sea, synthesised sound and the single-file build. Your agent replaces the generators in src/shapes/ and the palette, reads references/lessons.md before touching shaders and runs shoot after each round to compare phase screenshots.
- 03
Build and verify one HTML
npm run build:single writes dist-single/index.html, and npm run shoot -- --file dist-single/index.html checks it in local Chrome with Node 22.4 or newer. The example reached all seven phases, from monolith and cracks through storm, cathedral, whale and rain to arch, with 32768 shards on the high tier and 12288 on phones. Orbit, next-form and whale-chip interactions all passed.
FAQ
What does Obsidian Shards make?
Obsidian Shards makes a 3D web scene where about 32,000 dark glass shards stand as a monolith in a sunset sea, crack along gold seams, burst into a storm and fly into a cathedral, a whale crossing the sky, a rain onto the water and back. Drag orbits, a click or Space moves to the next form and keys 1 to 5 pick one.
Can I give Obsidian Shards my own forms?
Yes. Obsidian Shards adds a form as a generator in src/shapes/ that returns one target slot per shard, registered in SHAPES in src/config.ts with a chip label in src/i18n/strings.json. Describe the forms in the shapes slot and your agent writes the generators.
Does Obsidian Shards call a model?
No. Obsidian Shards ships a meta prompt and a reference app that your own coding agent edits locally, and nothing in the Skill calls a model or a network service, so there is no SandBase charge. npm ci downloads the pinned packages from the public npm registry.
Why is Obsidian Shards a single HTML file?
Obsidian Shards delivers one file so it can be opened from disk, hosted anywhere and embedded in a sandboxed iframe with no server. That is also why it skips drei's Environment, which needs a CDN preset table; ProceduralEnv.tsx renders the sky into the environment map in code.
How does Obsidian Shards run on phones?
Obsidian Shards switches phones to its low tier, with 12288 shards and no mirror pass. The camera distance follows the aspect ratio so tall forms fit a portrait screen. Phone behaviour was checked only under headless touch emulation.
What are the limits of Obsidian Shards?
Obsidian Shards draws instanced prisms in real-time WebGL, not a physical simulation, and its forms are sampled primitives. It is not for scenes needing model or texture files or server-side rendering. shoot and record need local Chrome, record also needs ffmpeg, and headless capture has no audio.
Altri Skills
Tutti gli Skills Interactive 3D →
Resin Diorama
Live 3D resin-block dioramas in your browser: send a little tram across a clear turquoise sea, or ripple the bay of a cliff island. Synthesized sound, and every scene can be tuned.

3D Vehicle Worlds
Explore interactive 3D vehicle worlds in your browser, with varied terrain, camera controls and driving effects. Choose a playable example to begin.

3D Firefly Terrariums
Turn a thick glass miniature, scatter glowing fireflies and open its brass lid. Actual particles leave through the neck and return before it seals. A moonlit cabin, forest and real local lights in one offline HTML.

Jelly Candy: Fruit Bears
Six translucent fruit gummies on a white table. Grab any part and pull, lift a head until the neck stretches thin, press one flat until it springs back, flick one across the pile or pour in more. Fixed-step soft-body physics and a marching-cubes skin in one offline HTML.

WebGPU Soft-Body Gummy Bears
Four translucent gummy bears on an ivory floor, rendered with native WebGPU. A deterministic 36-second choreography stretches, presses, flips and tumbles them before they settle back to the exact rest pose. Drag any bear to stretch, squish or toss it. A fixed-step tetrahedral XPBD solver in one offline HTML.

Stone Stars: 3D Miniature Landmark City
Turn a city into a storybook 3D island around one landmark, with chapters, a daylight-to-starlight slider, street life and a matching scored 24-second film. Sample: a Gaudí-style basilica.
