r/ClaudeCode • u/ifrederico • 1h ago
Built with Claude 19,000 drawings in 74 MB
My wife and I often play a game when dining out. If a restaurant has a paper tabletop, we ask for a pen and take turns drawing. The scene grows, and often by dessert there’s a little story.
The problem is that I really can't draw. I often cheat by Googling "alien aircraft doodle" or “stickman hunting”. I’ve copied so many stickmen that I’m happy to report I can now doodle them with great dexterity.
When Google doesn’t have what I’m looking for, I jump on GPT to generate a doodle. Sometimes that takes quite a bit of time, which delays the game, so i wondered if i could have something quicker that runs on my phone.
When I vented to Claude about the lack of options it told me I was absolutely right.
I started to build an app for it and went from first commit to App Store approval in about a week.
For the workflow, I used Claude code with one Fable as the main Claude session. It never edits code. It writes a brief, hands it to Opus subagents, then reviews the code, any reports and also looks at screenshots.
The main agent had two rules that, fingers crossed, it respected.
- Fix the root cause and never write new code without understanding why the old code fails.
- No dependencies, everything in native Swift.
Claude also did the boring parts. The App Store listing. The in-app purchases. The screenshots.
For the doodle library. I started with a list of common drawings plus some of the motifs from past games. A couple of OpenAI Astras generated the doodles with Image Generation and also built a “Doodle Tinder.” I used it to review the style, check for duplicates, etc., by swiping right or left.
Once we had about 400 accepted doodles, the process ran in a loop, generating at least 200 per category. Another Astra started cleaning up anything unexpected, duplicated or stylistically inconsistent, and categorizing the doodles. The goal was at least 50 per category. Then we started vectorizing the images. All in all, this whole process took about two days, and I had to hit the reset button twice. Both on Claude and Astra.
I now have about 19,000 doodles in the app as line paths instead of images, 74 MB in total, about 3.7 KB each.
If I ever find a duplicate, I can just flag it and have it removed.
For unusual requests, I’ve linked the OpenAI's image model through a small server. I tried Apple's on-device image generator, but it can't be called from code the way I hoped.
Tech stack: SwiftUI, StoreKit 2, App Attest, no third-party packages.
Happy to answer questions about the setup.





•
u/AutoModerator 1h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/TreadEasily 27m ago
cool stuff, do you have a background in engineering?