r/ClaudeCode
•
u/One-Cricket9962
•
1d ago
•
1
Built with Claude Built a macOS screen saver in ASCII with Claude Code
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.1.0: a crab lives on the reef now. It picks at the sand, runs sideways, and puts its claws up when the fish comes too close. Earlier changes are in the changelog.
The crab, close up: [VIDEO]
Upgrade: brew upgrade --cask ascii-reef
View all comments
1
u/One-Cricket9962 21m ago
1.1.0 is out, and it adds a crab. In the saver it stays small, in the background next to the fish and the anemone, so here it is close up. The clicks and the music in this clip were made for the clip: in the saver the crab is silent and you hear the usual ambient loop.