Case study · building with ai

Case study ·

building with ai

The beloved Pong,
built around an art engine

The beloved Pong, built around an art engine

TL;DR – A product experiment on being more present through play and creation. Built with Claude.

TL;DR – A product experiment on being more present through play and creation. Built with Claude.

Role

Creator

Creator

Concept, design and every brief

Concept, design and every brief

Effort

~2 weeks

~2 weeks

~40 micro-briefs

~40 micro-briefs

Engine

3 surfaces

3 surfaces

Vanilla JavaScript, HTML5 Canvas

Vanilla JavaScript, HTML5 Canvas

Build

1 file

1 file

HTML, zero libraries

HTML, zero libraries

01 · The idea

01

Play a familiar game, with a bit of uncertainty. Make art.

02

But it’s not about the points, or even the art. It’s about being present while you play.

03

Three points, no levels. A rally ends with a shareable canvas and a haiku.

04

More modes coming soon, once there’s real usage data.

01

Play a familiar game, with a bit of uncertainty. Make art.

02

But it’s not about the points, or even the art. It’s about being present while you play.

03

Three points, no levels. A rally ends with a shareable canvas and a haiku.

04

More modes coming soon, once there’s real usage data.

The intro screen, before the first serve.

02 · Hooks and levers

Two HOOKS – MAKE ART AND GAIN CALM

Two HOOKS – MAKE ART AND GAIN CALM

The results screen. Scrub the timeline to pick your favourite moment.

1

Lever 01 · Ownership

Every round leaves a painting to save or share, with a small haiku attached. The incentive is ownership: you made it, yours to keep, share it ahead.

2

Lever 02 · PLAY, Gain & SHARE

The results screen reframes play as a small gain instead of time spent. It’s the closing reward of every round, and the reason to come back for another.

2 minutes of calm, gained

2 minutes of calm, gained

Learning

Direction, not instructions.

One button needed to read as primary and the rest as secondary. I didn’t spell out the changes. I gave the objective and the outcome, then asked for options. A small shift, from hands-on designer to directional one.

03 · Why an engine

Why an engine, before a game

Why an engine, before a game

The Zen Pong art lab showing seeds, sliders and side-by-side painting outputs
The Zen Pong art lab showing seeds, sliders and side-by-side painting outputs

The art lab. Seeds, sliders and side-by-side outputs, tuned before any game screen existed.

I built the engine before the game, so I could test looks, feels and rendering before committing to anything. The art lab came out of that.

Under the hood

Strokes are the source of truth

A painting is just stroke data. Nothing else is saved.

Swappable renderers

Paper, chalk and paint redraw the same strokes.

One seed, every stream

A single seed drives all randomness, so a game can be replayed exactly.

Colour by rule

OKLCH palettes, triadic or split-complementary, with a contrast guard.

Spin physics

The ball carries spin, so strokes arc instead of running straight.

Generated, not loaded

Paper grain and chalk are procedural. Sound is synthesised with Web Audio.

The Zen Pong art lab showing seeds, sliders and side-by-side painting outputs

The art lab. Seeds, sliders and side-by-side outputs, tuned before any game screen existed.

Paper

Chalkboard

Paint

Switch surfaces to compare.

One engine, many surfaces

New surfaces and styles plug into the engine without touching the game, so I launched with three instead of waiting for the perfect texture. The engine keeps getting better and the game keeps updating. This is the first step.

Learning

Build the tool before the product.

The art lab came first, so the game inherited a look that had already been tested, not guessed.

04 · BETS AND COSTS

trade-offs
i made

trade-offs
i made

Two smaller calls along the way: I cut the extra share screen, since the results page already is the art. I kept the filled cursor, because the outline version vanished on cream.

Desktop only, for now

Mobile waits until touch play feels right

Bet

Hold mobile back. Touch play in Chrome wasn’t up to the mark, and I wanted to see first whether people enjoy the game.

Cost

Phone players, for now. Shared paintings still open on any phone.

Share the real painting, not a replay

Links carry the actual brushstrokes

Launch with three surfaces, add more later

The engine’s first step, not its last

Colours from a rule, not a fixed list

Generated palettes that stay balanced

Desktop only, for now

Mobile waits until touch play feels right

Share the real painting, not a replay

Links carry the actual brushstrokes

Launch with three surfaces, add more later

The engine’s first step, not its last

Colours from a rule, not a fixed list

Generated palettes that stay balanced

05 · How it was made

Meet Prometheus and Bob

Meet Prometheus and Bob

The stack, end to end

A light, standard setup. Everything ships as one file.

Inputs

Art lab, plus paper, chalkboard and paint surfaces. New surfaces plug in here.

Engine

Headless and seedable. Same seed, same painting.

UI layer

Screens and controls, kept separate.

Build step

Inlines everything into a single file.

One HTML file

Vanilla JS, Canvas, Web Audio. Zero libraries.

GitHub Pages

Free hosting. One brief, one branch.

The stack, end to end

A light, standard setup. Everything ships as one file.

Learning

Two AIs check each other.

Splitting architect and builder meant every plan had a reviewer. Prometheus caught wrong turns before Bob wrote a line.

Learning

Feel can’t be delegated.

Bob could build anything I briefed. Deciding when the ball, the music and the strokes felt calm was still my job.

A Zen Pong painting on the paper surface
A Zen Pong painting on the chalkboard surface
A Zen Pong painting on the paint surface
A Zen Pong painting on the paper surface
A Zen Pong painting on the chalkboard surface
A Zen Pong painting on the paint surface

Still learning. This is version one

Still learning. This is version one

Still learning. This is version one

New surfaces, new modes and mobile play will come once they’ve earned it. For now, play for a couple of minutes and keep what you made.

Music: Oolong and Golden Pothos by Omni Gardens, from Moss King.

Built by directing Claude. Designed by Shivang Joshi.

Fully developed in Framer

Shivang Joshi

© 2014–2026 Shivang Joshi. All rights reserved.

Fully developed in Framer

Shivang Joshi

© 2014–2026 Shivang Joshi. All rights reserved.

Fully developed in Framer

Shivang Joshi

© 2014–2026 Shivang Joshi. All rights reserved.