Show HN: Diorama – Draw a world, play it with point and click grzegorz.tanczyk.p...
Show HN @show
Show HN: Diorama – Draw a world, play it with point and click grzegorz.tanczyk.pl · 3 points · 0 comments · HN thread
TL;DR Diorama is a local command-line tool and browser Studio app that turns a crayon sketch or one sentence into a paper-cut diorama world the player can walk through with point and click. The page shows a demo world, Paper Boat Storm, built from three sketches and one paragraph of story, taking about 17 minutes and roughly 200 Meta model calls for a four-place world. It was written during the Meta AI Global Hackathon.
- Input is a sketch or a single sentence; Muse Spark plans the places and Muse Image paints them in cut paper and cardboard.
- SAM 3.1 cuts the painting into cards and Depth Anything V2 stands each card at its depth, producing walkable stages with occlusion.
- Code checks every result: walk grid from masks, reachability of every ending, and a bot that plays each place and repairs failures.
- A typical four-place world takes about 17 minutes and some 200 Meta model calls; ElevenLabs, MusicGen and TRELLIS are used for voices, music and 3D characters.
- Runs locally with Node 22+, ffmpeg and a Meta Model API key; worlds can be exported as static web pages for GitHub Pages or itch.io.
- The storm sketches were generated with Muse Image rather than drawn by a child, and a few spots were touched up by hand for the demo clip.
Discussion No comments yet. The submission has 3 points and no discussion so far.
#generativeAI #gameDev #pointAndClick #webGames #MetaAI #showHN