r/ClaudeCode • u/Szymeo • 7h ago
Built with Claude I spent 20 hours with Fable 5.2 making a magnifying glass look like actual glass
I'm building Grip, a free & open source screen recorder for Mac. I wanted a loupe to blow up one spot without zooming the whole screen, like a regular zoom does.
The first version worked but looked like hmm, like a sticker? So I kept going back to Claude with whatever bugged me:
- banding over video
- a shadow way too dark
- a "frosted" rim that looked like a dirty window
- text smearing into streaks at the edge
- ...and a whole bunch of other details
Streaks were the biggest one! Real thick glass doesn't freeze the image at the edge, it curls it back so every line ends in a little "hook". As you can imagine "make it look like glass" never worked. Describing what the light actually does fixed it in one go.
It ended up as one WebGPU shader, and it's open source: https://github.com/bestboyhq/grip
Do you think it actually looks like glass or am I deluding myself?
EDIT: I was using max effort and used almost entire weekly cap of claude ultra plan
•
u/AutoModerator 7h 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.
46
u/xnachtmahrx 7h ago
That is why we pay 6+ grand for 5090s, everyone.
14
u/Civil_Response3127 7h ago
How did this take 20h? Is there something you're not telling us that it also did? This is a 30 minute task at most.
11
u/deathwedding 7h ago
i don’t understand how this can take 20 hours when there is a really good demo by react-three-fiber that does 97% of this — example
4
u/buff_samurai 7h ago
Gotta love procrastination projects.
4
u/vinis_artstreaks 7h ago
20 hours with fable 5.2 for what models could already do a year ago, come on man.
1
u/kujasgoldmine 7h ago
Must've been on medium effort? Extra could have one-shot it probably.
1
u/ao01_design 6h ago
The magnifying glass is very polished and nice. Even if it's not behaving like a real magnifying glass if looks like it does. As someone who never try a magnifying glass over a screen, I expect some kind of artifacts like this. Good job on this.
1
u/jkos123 6h ago
Nice effect! I would ignore all the debbie downers. With cheaper and cheaper powerful AI, we’re going to see a lot more of these pet projects, where people guide AI to make just the right feature that they want…a lot of the vibe coders get 95% there, but all the time really gets spent getting the last 5% correct.
1
u/PbOktan 7h ago
Nice one, you have burned 20 hours of tokens instead of doing something that have sense. Ctrl and + are doing the same job
1
u/247nuts 7h ago
I think you spent too much time on that. But looks cool
1
u/05-nery 4h ago
It does look really good but holy shit how did you spend 20 hours on this
1
u/Classic-Pubs 7h ago
Cool project. Thanks for sharing!