AI Scene Gen
Converts plain-English prompts into complete WGSL shaders, JS logic and uniform metadata via Ollama.
AI-powered editor that turns natural language into tiny self-contained WebGPU generative scenes
npm installViral single-file WebGPU demos like Abyssal Garden inspire many, yet creating them demands deep graphics and shader expertise. Lumagen fills the gap with a friendly pastel UI, local-LLM scene generation, live preview, and one-click export to optimized standalone HTMLs. Perfect for digital artists, indie devs and educators prototyping immersive procedural experiences.
Everything you need, nothing you don't.
Converts plain-English prompts into complete WGSL shaders, JS logic and uniform metadata via Ollama.
Real-time WebGPU canvas that instantly reflects prompt changes, uniform tweaks and animation updates.
Bundles scene into a single dependency-free HTML under 100 KB ready for sharing or embedding.
Auto-generates pastel sliders, color pickers and toggles for every uniform the AI exposes.
Curated starters including kelp forests, sunbeams, particle fields and fractal explorers.
Built-in FPS counter, draw-call stats and GPU timing to keep scenes running smoothly.
Regenerate only lighting, motion or color via targeted prompts while preserving the rest.
One-click extraction of shader, JS or full HTML for quick iteration in any editor.
From install to result in seconds.
Three steps. Full docs live in the README.
npm installnpm run devnpm testStars help other developers discover Lumagen. Issues and PRs are very welcome.
Star on GitHub