Phatake
Diwali crackers on the BLANK Interfaces logo, as an isometric pixel diorama. The logo is extruded into a black slab on a sandstone courtyard with a rangoli and diyas, and kept as a heightmap with soot and litter grids so every cracker leaves a mark. Tap a spot on the logo and the nearest of three children, in a lehenga, a kurta and a Nehru jacket, runs over, crouches to light the next cracker with an agarbatti, runs off and covers their ears. Sutli bombs break chunks out of the slab down to the cut stone, rockets climb off it and burst (one in four skids across instead), anaar fountains and chakris scorch it, and ladis litter it with red paper. Twelve crackers a round; after the last one a tap sweeps the logo clean. A 360 by 280 software rasteriser with a depth buffer, Bayer dither, hue-shifted ramps and long screen-right shadows, scaled by whole device pixels. Renders only the canvas, pauses off screen, synthesizes its sounds. Renderer ported from Pixel Plays (MIT). No dependencies.
npx shadcn@latest add @compronents/phatakeInstalls from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.
| Prop | Type | Default | Description |
|---|---|---|---|
| sound | boolean | true | Synthesized booms, whistles and crackles, started on the first tap. |
| label / className | string / string | description / undefined | Accessible name for the canvas, and classes for the white wrapper that sizes it. |
labeltextAccessible name for the canvas.