3D Firefly Terrariums
- Skill z Lab
- v0.1.0
- Interactive 3D
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.
Przykłady · 2

Działa w odizolowanej ramce bez dostępu do tej strony.
Uruchom online
Uruchom w sandboxie SandBase i zobacz wyniki w Lab.
Otwórz w Lab ↗Co otrzymasz
Bring a jar, habitat and optional palette. The Skill returns a downloadable Skill, interactive demos and example videos.
Jak to działa
- 01
Fill the Moonlit Jar prompt
Firefly Hollow fills its prompt with node scripts/fill-prompt.mjs --slots assets/prompts/examples/moonlit-jar.json --out prompt.md, then node scripts/new-project.mjs --out my-hollow and npm ci. The agent edits src/habitat.json within the validated layout. Structural changes update simulation, geometry and verification together. Build in a generated project, never in the packaged source folder.
- 02
Open the jar
A forest cabin sits in thick glass on a moonlit desk. Drag the jar to turn it, tap the glass for a local scatter and glow, and tap or drag the brass lid sideways to unscrew it. A seeded fixed 60 Hz integrator flies 48 fireflies out through the real neck, and a limited set of point lights follows the active ones. Close recalls them before sealing.
- 03
Build and verify the escape
npm run build:single writes the single HTML file with English and Simplified Chinese controls, and npm run shoot -- --file dist-single/index.html runs the checks in references/verification.md. Node 22.4 or newer is required, and a missing Chrome stops browser verification. The release verified portal crossing, the embed and a render error below 3e-7, meaning drawn positions match the simulated ones.
FAQ
What can I do inside Firefly Hollow?
Firefly Hollow lets you turn the jar, tap its glass, unscrew the lid and watch fireflies escape and return. The controls expose cabin and desk lights, daylight, population, glow, palette, slow motion, pause, reset view and restart. Right-drag orbits, the wheel zooms, and Cinema hides the interface until you press its exit button or Escape.
Is Firefly Hollow a real firefly simulation?
No. Firefly Hollow is a kinematic miniature, not a biological or fluid simulation. The particles follow a seeded integrator for containment, separation and portal crossing, and the rendered instances use those same positions. Population edits add or remove particles immediately, and Restart restores the authored seed.
Does Firefly Hollow cost anything to run?
No. Firefly Hollow needs no credentials, paid calls or uploads, and the Skill itself calls no model. A coding agent may use its own authorized model to edit the project. At runtime no models, fonts, audio files or network assets load; the jar's transmission and room environment are procedural.
Does Firefly Hollow have sound?
Firefly Hollow plays only optional short synthesized tones after a gesture. It has no recorded ambience or speech, and no storage, condensation, smoke or moth subsystem. Browser state is temporary. Reduced motion starts the scene paused, and slow motion changes simulation time rather than playback speed.
Does Firefly Hollow work with touch?
Yes. Firefly Hollow supports mouse, keyboard and touch in both languages, with two fingers for zoom and pan on touch screens. Headless frame rates in the reports do not establish real-device performance, listening quality or human acceptance, so check on your own hardware.
Więcej Skills
Wszystkie Skills dla 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.

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.

3D Architecture Night-to-Day Explorer
Turn any architectural site into a detailed 3D scene with a night-to-day light slider and a matching 20-second film. Sample: the Temple of Heaven.
