r/ClaudeCode • • 3d ago

Built with Claude Built a macOS screen saver in ASCII with Claude Code

Enable HLS to view with audio, or disable this notification

Repo (MIT, free): https://github.com/a0s/ascii-reef

Install: brew install --cask a0s/ascii-reef/ascii-reef

The fish and the anemone are simulated on every frame and rendered into a grid of text cells with Metal. There's no video file in the bundle, so the fish never swims the same path twice. The ambient music is generated by code too.

Claude Code wrote the Swift. My part was describing the scene and then going round the same loop over and over: render a frame to a PNG, look at it, tell Claude what was off. The signing, notarization and the Homebrew cask got done the same way.

What I took away from it: ASCII art only reads well when an object is at least 3 or 4 characters thick. Anything thinner turns to noise unless you handle it carefully (bubbles were fine, thin fins and distant fish were not).

UPD: latest is 1.5.0: moon jellyfish, a new kelp forest scene, up to five crabs, and the anemone, the sea fans and the rest of the scenery can now be turned off one by one. Earlier changes are in the changelog.

The crab, close up: [VIDEO]

The jellyfish, close up: [VIDEO]

Upgrade: brew upgrade --cask ascii-reef

1.6k Upvotes

78 comments sorted by

View all comments

1

u/One-Cricket9962 5h ago

1.5.0 is out, and it adds moon jellyfish. Here is one close up, in the new kelp forest scene with the kelp turned off and its tentacles a little longer than usual. Every beat of the bell is worked out on the fly, so no two are alike. The music is the saver's own ambient loop.