On Easy, the first song asked for about 1.4 taps a second. It was meant for a six-year-old. Now it asks for 39 a minute across two vines, a practice round comes first, and for the first three songs you can't fall off.
01The brief
The first version came out of a chat with Claude. It was a working prototype in one HTML file: a sloth called Bradley, ten songs composed in the browser and every sound synthesised. You tap pads as leaves, flowers and fruit slide down five vines toward a row of flower rings, like Guitar Hero in a tree.
Then I moved it to Claude Code to finish it and put it on this site. I sent the prototype, a brief with three jobs, and one line:
Follow the instructions in the MD file
- Make it playable for a six-year-old. The target, in the brief's words: "a 6-year-old clears songs 1–3 on Easy on the first or second try, and later songs get noticeably harder."
- Fix the sound on iPhone, then put it on this site at /canopy-jam.
- A big graphics upgrade. The brief asked for "console-quality 'cartoon realism'", with a High and a Low setting so a mid-range phone keeps up.
Claude did the three jobs in order and committed after each, as the brief said.
02Slower, wider, kinder
Easy was fast because nothing scaled with the song. Every song sent leaves down at the same speed, Easy kept every quarter note, and a miss cost the same on song one as on song ten. Now:
- Fewer vines. Songs one and two on Easy use two vines, green and red. Three from song three, four from song seven.
- More time to look. On song one on Easy a leaf takes nearly five seconds to come down. It speeds up song by song.
- Room between them. On Easy, never closer than two beats apart early on.
- A wider target. A tap counts within 0.18 seconds either side on Easy.
- A kinder grip meter. It starts higher, hits refill it, and on Easy songs one to three it can't empty. Finishing one of those songs is worth at least two stars.
Easy, song 1
Hard, song 10Claude printed snacks per minute for every song and difficulty to show the climb:
| Song | Easy | Normal | Hard |
|---|---|---|---|
| 1 Cecropia Sunrise | 39 | 61 | 124 |
| 2 Algae Groove | 44 | 76 | 139 |
| 3 Hanging Upside Down | 46 | 86 | 175 |
| 4 Cacao Pod Shuffle | 51 | 92 | 184 |
| 5 Hibiscus Hop | 58 | 104 | 232 |
| 6 Liana Swing | 83 | 188 | 301 |
| 7 Rainstorm Riff | 98 | 208 | 336 |
| 8 Toucan Tango | 104 | 221 | 359 |
| 9 Harpy Eagle Escape | 110 | 265 | 433 |
| 10 Canopy Legend | 127 | 276 | 464 |
The brief also said song one on Easy should have 15 to 25 notes. Its own spacing rule gives 62. Claude kept the rule, did the sum (15 to 25 would need a gap of about six beats) and told me. It's one number to change if a six-year-old disagrees.
03The silent switch
The brief guessed why there was no sound on my iPhone: Safari sends web game audio through the ringer, so the silent switch mutes it. Claude moved the page onto the same channel as music and video. It also found a second cause the brief hadn't: the game started its audio on the first finger down, and iOS only counts a tap once the finger lifts.
Then the site. My site blocks scripts loaded from anywhere else, and the game loaded its 3D library and fonts from other sites. Claude put copies of both in the game's folder and loosened the security policy for /canopy-jam only. It added a share picture and what a phone needs to put the game on the home screen and play it full screen.
The brief asked Claude to test the preview on a phone-sized screen before I merged. It couldn't: Vercel previews sit behind my login. It said so, ran the same checks on its own copy under the site's real security policy, and waited.
04Cartoon realism
The brief had a long list for the graphics. Claude did most of it:
- Light. A glow on anything bright, soft shadows from the sun, a colour grade for each of the twelve settings, a little film grain and a darker edge to the picture.
- Trees. The round green blobs became clusters of painted leaves that sway. Cecropia trees got pale ringed trunks and silvery undersides, and the big trees got buttress roots.
- The canopy. Bromeliads, orchids, ferns and hanging moss on the branches, mist between the rows of trees and clouds that move.
- The highway. Bark with depth and patches of moss, and vines that are real 3D stems with leaves.
- Hits. Leaf scraps fly, new leaves flutter down, and on High a ripple runs across the screen on a Perfect.
- The flowers at the bottom open when you press them and close when you let go.
- Menus. The camera drifts slowly round Sloffi on the title screen, and each song card shows a small picture of its world, drawn when the game loads.
Noon
Storm
Sunset
Dusk
Settings got Graphics: Auto, High or Low. Auto drops to Low if frames start taking longer than 22 milliseconds.
High
Low
Before
AfterClaude's test machine has no graphics card, so it could only compare costs. On that machine High took 3.2 times as long to draw a frame as the original and Low 1.9 times. It never measured a real phone, and said so.
05Bradley becomes Sloffi
With the three jobs done, I sent a photo of a toy sloth:
Rename the sloth to Sloffi
Colour Sloffi like the attached image instead
If that's a three toed sloth, change the food to suit what it eats
Sloffi is caramel, with a cream face, round grey patches around big black eyes and a grey muzzle. Claude matched the colours and judged the toy a three-toed sloth from the face. Three-toed sloths eat almost nothing but leaves, so the hibiscus, cacao pods, passionflowers and hog plums went. In came Cecropia leaves, young red leaves, tender shoots, heart-shaped liana leaves and fig leaves.
Bradley
SloffiThen I asked for more realism, and Claude rebuilt the body: a pear shape, long arms and short legs, and a coat of up to 24 layers of coarse fur combed downward, because Sloffi hangs. The face is short fur painted with the grey patches and a faint smile. Real sloths have small eyes, so Claude made them smaller, said that moved away from the toy and asked if I wanted them bigger. I'd already asked for them a bit wider apart. That was enough.
Then the toes:
Sloffi has 3 toes
Two toes on hands
Three toes on feet
Claude pointed out what that means: two claws on the front feet is a two-toed sloth. The name counts the hands. So the food was changed for the wrong species, and is still right, because two-toed sloths eat leaves too. They also eat fruit and flowers, and Claude offered to bring some back. The title screen now says two-toed. The long hooked claws went the same day:
Shorter toes and nails, match the photo
They're short cream stubs now, like the toy's. And the game got a new name in one message:
Just call it Canopy Jam: Sloffi's Slow Jam
06Bites, not beeps
Let's use real sound effects for notes and menus and button presses
Every munch is now a real bite. Claude found ten recordings on Freesound, all given to the public domain, and cut them to 75 KB in total:
| When | What you hear |
|---|---|
| Sloffi munches a snack | One of four bites: an apple, cabbage or lettuce, pitched a little differently each time. Leafy snacks add a rustle |
| A miss | A branch cracking |
| A tap on an empty vine | A soft wooden click |
| Menu buttons | A wooden click. Play, Next and Retry get a fuller one |
| Moss Power, secrets and winning | A glowing chime |
Claude chose and trimmed them by measuring each recording, because it can't listen, and told me so before I merged. The music is still composed in the browser as you play.
One more:
Turn off the sounds when the browser is not the active app or tab
Switch tab or app, or lock the phone, and everything goes quiet. A song pauses and waits for you.
07Fewer words, one button
How to play was long and listed keyboard keys on a phone.
Hide keyboard controls if you're on a touch device
Show these as rows not cards
Make Sloffis eyes a bit wider apart to match the photo I sent
Simplify the how to play too, it's very wordy
It's four short sections now: one line on what to do, the controls for your device, the five snacks in a row each, and four tips. The tips are one line each.
How to play
PracticeThen five messages about closing things. Every panel got a round close button in the corner. I sent a screenshot where Got it was below the bottom of the screen, then another where the win screen's buttons were cut off. Each panel's main button now stays pinned to the bottom while the rest scrolls behind it. The close button floated over the first lines of text, so I sent three more screenshots. It has its own space in a header row now.
The first screen got a loader, so Tap to start doesn't appear before the game can start.
Then I turned the phone sideways and sent four screenshots:
These are not optimised for landscape touch devices. Build a system for every overlay in the game and then fix every overlay for device and orientation
In landscape the panels were all header and footer, with two lines of content between. Claude built a test that opens every overlay at seven screen sizes and measures how much is hidden. How to play had 589 pixels you had to scroll to see on an iPhone held sideways. Then it gave every overlay one shared set of sizes with three tiers: roomy, short for phones in landscape, and tiny for landscape with the browser bars showing. On short screens the long panels flow into two columns, and the Back and Got it buttons go, because the close button does the same job. How to play went from 589 pixels hidden to 16.
Before
After08A practice round
Let's create an onboarding level before the first one starts, guide the user through the controls including the long press
Ensure that they only see this first time, not every time
The first time you press Play, a practice round comes first. One leaf at a time slides down and waits on its flower until you get it right. A message at the top says what to do, and a ring pulses over the pad to press: tap green, tap red, then hold each one through a leaf with a long tail. Tap too early, or the wrong pad, or let go too soon, and the message says so. You can't miss.
It runs once. Anyone who had already played doesn't get it. Skip practice is always on screen, and How to play has a button to run it again.
09Trees through the branch
when the branch that Sloffi is hanging on passes trees and other branches, the things pass through each other instead of colliding properly
Sloffi's branch never moves. The forest slides toward you to make it look as if you're travelling. The branch was wider than the gap between the rows of trees, so anything planted near the highway drove straight through it.
Before
AfterClaude shortened the branch and grew two fixed trees for it to reach between, one each side of the highway. Then it placed the scrolling trees so their widest point always passes outside those two. It checked by measuring the shapes themselves, and the first measurement failed: the fixed trees' own side branches pointed outward, into the path of the crowns going past. It turned them to face the highway, and the next measurement passed with room to spare.
10What went wrong
| What happened | What it took |
|---|---|
| The brief's spacing rule gave 62 notes on song one. The same brief wanted 15 to 25 | Claude kept the rule and showed the sum. Still 62 |
| No sound on iPhone | Two causes: the silent switch, and audio starting before iOS counts a tap. Both fixed. Claude couldn't confirm it on a real iPhone |
| Claude couldn't open the Vercel preview | It sits behind my login. Claude tested its own copy under the same security policy and said that was the limit |
| The test machine has no graphics card | Relative costs only, and an Auto setting that drops to Low on a slow device |
| Sloffi's long tufts looked like carrots after the recolour | Fewer of them, in paler shades |
| After the realism rebuild, the arms rendered inside out: smooth and grey, no fur | The surfaces of the new limbs faced inward. Flipped |
| Sloffi's forehead glared white | The shine on the hair was meant for the long coat. Turned down on the face |
| The feet had claws, buried in fur | Longer claws, then short ones like the toy's |
| The loader never went away | A style rule kept it showing after the game hid it |
| Text showed through behind the pinned buttons | A solid strip behind them |
| The close button sat on top of the first lines of text | A header row with a space for it |
| Holds in the practice round took forever on the test machine | They were timed by frames, and the test machine draws few. Now timed by the clock |
| Trees drove through the branch, then the fix put branches in their way | Caught by measuring before it shipped. Turned to face the highway |
| The very first tap still makes the old synthesised click | The recordings can only be unpacked after a tap. Left as it is |
11How I prompted
Every message I sent, in order. The brief is in a file, so the first is the shortest.
Follow the instructions in the MD file
Rename the sloth to Sloffi
Colour Sloffi like the attached image instead
If that's a three toed sloth, change the food to suit what it eats
Hide keyboard controls if you're on a touch device
Show these as rows not cards
Just call it Canopy Jam: Sloffi's Slow Jam
The how to play needs a X in the top right corner
Make Sloffis eyes a bit wider apart to match the photo I sent
Simplify the how to play too, it's very wordy
Deploy to /canopy-jam on my site
Let's use real sound effects for notes and menus and button presses
Can we render Sloffi to be much more realistic
Sloffi has 3 toes
Two toes on hands
Three toes on feet
Deploy
Shorter toes and nails, match the photo
Deploy
Needs a loader on the first screen
All modals should have a top right corner close button with the X ico
The button is off the bottom of the screen so it is easy to miss
Turn off the sounds when the browser is not the active app or tab
Make sure the buttons at the bottom are not cut off
Deploy
Ensure the close top right doesn't overlap the content
merge
Let's create an onboarding level before the first one starts, guide the user through the controls including the long press
Ensure that they only see this first time, not every time
merge
when the branch that Sloffi is hanging on passes trees and other branches, the things pass through each other instead of colliding properly
Merge
Write the blog post
These are not optimised for landscape touch devices. Build a system for every overlay in the game and then fix every overlay for device and orientation
Merge
The first paragraph makes it sound like I copied an HTML file when I actually used Claude to make the first prototype and then sent it to Claude Code with the prompt
Merge
The blog post is sparse on images, add more
That's all thirty-three. Five of them came with pictures. What I'd take from it:
- Write the brief once, properly. Three jobs in a file, sent with one line, came back as three commits and a list of everything Claude couldn't check.
- Send the photo. "Colour Sloffi like the attached image" did more than any list of colours I'd have written.
- A condition gets a decision. "If that's a three toed sloth" let Claude choose and say why. When the toes said otherwise, the reasoning was there to check.
- Point at it. Three messages were a screenshot and one sentence. Claude never had to ask which button I meant.
- Say what's wrong, not how to fix it. "The things pass through each other" got an archway I wouldn't have thought to ask for.
Built with Claude Code. 3D by three.js (MIT licence). Sound effects from Freesound by wadaltmon, chestnutjam, actionlewis, j1987, Qvantor, GameAudio, qubodup, newagesoup and one account since deleted, all Creative Commons 0. The music is composed in your browser as you play. Type in the game is Lilita One and Nunito (SIL Open Font Licence). Sloth facts from National Geographic, the Sloth Conservation Foundation, IFAW, WWF and the Smithsonian's National Zoo.