Questions tagged [canvas]
Post a PromptPrompts that build things with the HTML canvas API.
17 prompts
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
6votes
0answers
1.2kviews
Endless runner prompt with procedural obstacles that stay fair as speed ramps
Made a Canabalt-style one-button endless runner and the procedural obstacle spawner kept generating impossible sequences: two gaps back to back with no room to land, or a wall the instant you couldn't
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
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
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
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
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
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
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
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
6votes
0answers
905views
Prompt for a tower defense with a wave curve that ramps without a difficulty wall
Built a tower defense in a hackathon and the enemy waves were either trivial or a sudden brick wall on wave 6. The balance was hand-tuned garbage. I tried to get the model to design the wave spawner a
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