Prompts that build things with the HTML canvas API.
37votes
3answers
4.1kviews

Seedable generative poster on canvas where the same seed always renders identically

I built a generative poster tool and the whole point was letting people share a seed so a friend gets the exact same artwork. First version used Math.random() everywhere, so of course nothing was repr
28votes
1answers
3.2kviews

Prompt for a Snake game that actually feels juicy, not just a grid crawler

Every AI-generated Snake I've seen is technically correct and completely lifeless: a square that jumps one cell per tick with zero feedback. I wanted the arcade-cabinet feeling in a single HTML file.
27votes
2answers
2.8kviews

One prompt for a convincing CRT / arcade shader overlay on a canvas game

I wanted my pixel games to look like they're running on an old arcade monitor, not a crisp modern LCD. Most AI attempts gave me faint horizontal lines and called it a CRT, which fools nobody. Asking f
22votes
1answers
4.6kviews

How I prompt a platformer jump that feels like Celeste, not like a brick

The single biggest reason AI platformers feel bad is the jump. You get gravity, you get a jump impulse, and it's stiff and unforgiving. The magic is all the invisible assists that pro platformers ship
18votes
1answers
2.4kviews

Prompt for procedural roguelike dungeons that don't have unreachable rooms

Doing a small browser roguelike at 2am and the generated dungeons kept producing rooms with no doors or whole sections cut off from the start. Classic naive procedural gen. Asking for "random rooms an
17votes
1answers
2.5kviews

Canvas flow-field particles with trails that fade instead of piling into a smear

Flow-field particle trails on canvas always end up either as harsh solid lines or, when I try to fade them, a muddy gray wash because I clear with a semi-transparent black rectangle every frame and it
16votes
2answers
3.1kviews

Canvas candlestick chart that survives a code review at 50k OHLC bars

Our desk needed an intraday candlestick view that stays at 60fps when someone scrolls a full year of 1-minute bars. The obvious SVG version from the model died around 8k nodes, and the first canvas at
15votes
1answers
1.7kviews

Prompt for a Sokoban with guaranteed-solvable procedural puzzles

Sokoban is easy to render and brutal to generate: random box/goal placement gives you puzzles that are either trivial or literally unsolvable (a box shoved into a corner it can never leave). I wanted
14votes
1answers
2.0kviews

Asteroids prompt with real thrust inertia and screen wrap that doesn't pop

Wanted a proper Asteroids: momentum-based ship, thrust and rotation, bullets, splitting rocks. The tricky feel bits are the inertia (you drift, you don't stop instantly) and seamless screen wrap so ob
13votes
1answers
1.6kviews

Verlet rope and cloth prompt that stays stable instead of exploding

I love verlet integration for cheap 2D physics, but every quick AI version I got would look great for two seconds and then the cloth would violently explode as constraints fought each other. The naive
12votes
2answers
2.0kviews

Breakout prompt where the bricks shatter and the ball leaves a trail

I've built Breakout a hundred times and it's always the same flat rectangles blinking out of existence. This time I wanted the destruction to feel physical: bricks that crack, shatter into shards, and
12votes
0answers
1.5kviews

Getting a local model to one-shot a Flappy clone with tuned, fair difficulty

I wanted to see how far a local open-weight model could get on a full playable game in one prompt, no follow-ups. Flappy Bird is a good test: simple, but the pipe gap and spacing tuning is what makes
12votes
1answers
1.6kviews

Risograph-style generative poster grid that looks printed, not rendered

I wanted that two-color risograph print feel: slightly misregistered layers, grainy ink, limited palette. Straight prompts gave me clean flat vector art that screamed 'computer', not 'printed on a Ris
9votes
0answers
1.0kviews

Procedural mesh-gradient background that animates without looking like a lava lamp

Everyone's doing the blurry blob mesh-gradient hero background now, and most look like a 2005 lava lamp because the color stops drift randomly and mush together. I wanted something that breathes slowl
8votes
0answers
962views

Match-3 prompt with cascading combos and juice that reads at a glance

Match-3 is deceptively hard to make feel good. My first AI version detected matches and removed gems instantly, so the board just blinked and refilled with no sense of chain reaction. Dead. The naive