SShogo Learn
← Library

One-prompt build · 2026-10-20

Sand Typewriter

Paste this into a new Shogo project and watch it build.

Prompt
Build a full-screen web toy called "Sand Typewriter": a keyboard that types in falling sand.

- The whole page is a dark, warm canvas (deep charcoal with a faint vignette). No navbar, no buttons, no scrollbars.
- When I type, each letter appears big (about 120px, chunky rounded font) near the top center, holds for half a second, then dissolves into hundreds of individual sand grains that fall with real gravity and pile up on the floor, sliding off each other like a falling-sand simulation (grains settle into slopes, never overlap).
- Each word gets a slightly different sand colour from a warm desert palette (gold, amber, terracotta, cream) so the pile becomes layered strata over time.
- Space starts a new word a bit to the right; letters wrap to the next line when they reach the edge.
- Click or tap and drag anywhere to blow the sand away from the pointer, like a gust of wind; grains scatter and resettle.
- Backspace makes the top layer of the pile shimmer and drain away through the floor.
- On phones, tapping the screen opens the keyboard (a hidden input), and touch-drag blows the sand.
- A tiny, faint hint at the bottom: "type something".
- It must run smoothly at 60fps with 20,000+ grains: use a pixel-grid simulation on a single canvas, not DOM elements.
Want it as a guided course with a coach?Agent Team Playbook