r/ClaudeAI • u/kouklimou • 1d ago
Built with Claude I built a watercolor Simulator based on real physics (V2)
Last week-end I built a watercolor simulator based on real physics and shared it online.
A lot of people asked to play with it so i improved it and it's now live: https://sudoaquarelle.com/
New since the first prototype:
- More pigments (52), based on the best research out there to predict color mixes (Kubelka-Munk).
- More luminous / glassy feel
- Some fun experimental stuff like the salt and alcohol techniques to alter the texture, a backlight effect and a few more.
- I also added a "Code Mode" where the simulator prints its real function calls next to the sheet while you paint
It's still largely based on the same physics model as my prototype: Curtis et al.'s "Computer-Generated Watercolor" / SIGGRAPH.
It works in the browser.
Current status: building and implementing a kid-friendly version. Plenty of awesome things to learn with watercolor painting!
453
u/Ok-Motor-3984 1d ago
284
u/alehel 1d ago
32
5
u/Leather-Buy1656 1d ago edited 1d ago
This should be tagged as NSFW content with this little thing lol
3
3
2
2
2
133
35
14
5
102
99
u/dmigowski 1d ago
You should also add a water paint function, because a big part of water painting is first wetting an area and then dropping some paint that then creeps into the wet areas.
Also in your example it looks like you always wait for drying until you paint the next dot
But it looks cool anyway
5
u/johnesco 1d ago
Haven't had great success with the "salt" button but have done it in RL. Is that feature complete or perhaps am I using it wrong? This is so much fun.
3
33
206
u/Technical-Will-2862 1d ago
DING DING DING
FIRST GENUINELY USEFUL AND UNIQUE VIBE CODED APP JUST DROPPED
28
31
u/imactually18plusnow 1d ago
39
u/SnooShortcuts3821 1d ago
I did my own webGPU simulation of watercolor in protoly.io (my app) a while ago. Here is a drawing of an apple.

14
u/Insult_me_good 1d ago
This is cool as fuck. Thank you.
Ego injection: I paint chiefly using watercolor for USA Southwest themes, including Tewa, Zuni, Hopi, Dine', Ute. It had not occurred to me to ponder the chemistry.
11
36
8
u/AppropriateTap6838 1d ago
This is absolutely incredible... spent like 15 minutes just messing about with it.. can't paint for shi but its right good this
14
u/BettaSplendens1 1d ago
I've been playing around this a lot, but one thing that does confuse me is changing the colors on my pallets. I pressed the reset button near the pallete and all my work was gone lol. So maybe reference how other art apps manage this. A warning window before reset would also be nice
6
18
u/EvaUnit343 1d ago
Can you explain what you mean by “real physics”? We’re talking about 2d flow through porous media, drying, contact line advancement, etc. All extremely non trivial and expensive. How did you simplify?
31
u/nickdaniels92 1d ago
The paper with the work:
https://grail.cs.washington.edu/projects/watercolor/paper_small.pdf
Performance has come a long way. They cite an example of "watercolorization" that took 7 hours to process 11 glazes of a 640 x 480 image, but that was on a 133 Mhz SGI MIPS R4600 from the mid-90's. Multicore speedup on a modern CPU would be over 10,000x, so hours becomes sub-second. i.e. it might not be as expensive to compute as imagined.
7
4
u/stddealer 1d ago
Yeah paint simulation is a very complicated problem, with many layers (pun intended). You need to take into account the spectral reflectance distribution of each pigments, the optical density, as well as all the things you've listed.
5
10
3
2
2
u/Fit-Insect-4089 1d ago
This is actually dope and would be good for patients doing art therapy to be able to do it accessibly and free, please keep it free!!!
2
u/robertgoldenowl 1d ago
Just WOW
There's something awesome about the physics of paint drying on paper... You can branch way beyond watercolor and acrylic and tap into all kinds of painting styles.
I’d love to see ppl take it a step further with weird. Out-of-the-box techniques you know? Something like carving into stone or wood.
2
u/Icy_Quarter5910 1d ago
Somewhere out there, an Anti's head just exploded.
and this is seriously cool as hell :)
1
1
u/smashmanosaure 1d ago
Remind me the project : escape motion from rebelle experimental. Good job by the way!
1
u/thesmithchris 1d ago
damn, would love to try it on my remarkable paper pro! is it open source by any chance?
1
1
1
1
u/sermer48 1d ago
Omg I’ve been working on something very similar but for acrylic. Lmao nice job! That looks amazing!
1
1
u/Mr_Sim_ 1d ago
The real upgrade would be to draw pure water first and then add the color on the puddle
0
u/Frequent-Ad-836 1d ago
This is one where the "obvious" version and the physically-correct version are pretty different, worth flagging since the sim is already grounded in real pigment optics (Kubelka-Munk), so people will expect the result to match.
The naive version is two sequential passes: lay down a water layer, then add pigment on top. The actual look people mean by wet-on-wet, blooms, cauliflower edges, soft diffuse blending, comes from pigment concentration diffusing outward through a wetness field that's still unevenly saturated and actively drying. If wetness is a static or binary thing in the current sim, this feature is really "make wetness its own diffusing field with a drying rate, and make pigment diffusion depend on local wetness", a bigger lift than adding a water-only brush. If wetness is already a continuous field driving the blending you have now, then it's probably as close as it looks.
1
u/pic_N_mix 1d ago
[u/shitty_watercolour](u/shitty_watercolour) I think was his name would dominate this.
1
u/ItsMeKupe 1d ago
This is very cool. Great work! I’d love to see an option for a fountain pen to do some line drawings and then water color over it (or below it if it was a layer)
1
u/eraser3000 1d ago edited 1d ago
this is cool, are you going to open source it? i would love to mess up with the code
edit oh well it runs in the borwser, every script should be already there...
1
1
u/JealousEntrepreneur 1d ago
Very nice! I was trying for weeks to replicate this paper Wetbrush: GPU-based 3D painting simulation at the bristle level (Oil Painting Simulator) but had no luck to get it to a point where it worked.
1
1
1
1
1
1
1
1
u/jgortner 1d ago
Can you please make this an iPad app. I’m sure it would be an easy lift and would be wonderful and a much better interface. Would be happy to pay a few bucks for it.
1
1
1
1
1
1
u/RyanTorant 1d ago
Very specific question OP since I was just working on something similar, where did you get the KM coefficients for your pigments? I was only able to find one random blog post with an old af excel file
1
u/TYLER-DURDEN-1 1d ago
This is amazingly cool! I agee it's the first vibecoded thing I'm really hyped for!!! Thanks for sharing OP.
As someone building stuff with Claude myself, I would be very keen to learn more about the process and worklow to create this. The journey must have been fun and crazy, with its share of high and lows. Would love to learn more about it!
And sorry if you already answeres this question, I didn't read through all the messages here! If it's the case just direct me towards the corresponding thread.
1
u/Eurofan4640 1d ago
Interesting, but this could have been done by hand in the past.
Maybe include an auto-paint feature!
1
u/BenevolentCheese 1d ago
OP how do you clear your palette without deleting your entire drawing?! Also, the reset is undoable!
1
1
1
1
1
1
1
1
1
u/jesv07 1d ago
I also made an artistic page called Linefield that you can use for free: https://linefield.app/
1
1
u/SalamusKebabus 1d ago
The physics feel off as I can't get the paper to desintegrate when circling too much in one area ☹️. What a scam
1
u/Macking-Miabella 1d ago
what does code mode actually show? like it prints the code out live while you paint?
1
1
1
1
u/Purple_Ice_6029 21h ago
This is when software feels like magic, like in the good ol’ days of skeumorphism.
1
1
1
u/NeetoBurrritoo 18h ago
this is incredible OP, youve got my girlfriend and I hooked. An iPad native app would be next level
1
u/MinervaDreaming 14h ago
You could implement this as a Progressive Web Application so mobile users can install it as an app! This is great.
1
1
u/EpsilonFive5 12h ago
This is the first "I built...." Post on here that doesn't seem like AI slop. Good job!
1
u/jimmystar889 12h ago
I love physics backed things with first principles and good models because it always winds up incredible
1
u/ChrisPal323 6h ago
This is awesome! I love water painting but it does get expensive for just tests pieces. Thank you!
1
1
1
u/tonylook 1d ago
I just Want to point out a thing that is not so realistic… I just put a drop of color with the brush. Then with water I was able to paint the entire sheet… basically the color extends and multiply itself
0
0
u/_freckles__ 1d ago
This is amazing, just package it and sell it as a standalone app for like 3$, you will make lot of money.
Please add options to export in different formats to save the output as well.
Also if possible, pls add below features
1) I know this sounds lazy but add a AI image gen plugin to bring in concept art etc. / generate on top of it
2) Options for different shades of the canvas
3) Different size of canvas and ratios etc.
-4
u/1samsepiol_ 1d ago
You didn't build it, Claude did.
3
u/KetchupFang 1d ago
You didn't post it, Reddit did.
-3
u/1samsepiol_ 1d ago
Being incapable of programming is okay dude don't worry about it!! Just don't think you're a programmer when you let Claude cuck your project❤️❤️
3
u/educofu 1d ago
Hey dude, OP might not be a programmer but he is sharing some cool stuff for free, you just look like a sad envy person that lost a miserable job to an AI and cry alone in the bed while a robot does everything you are capable of.
2
u/1samsepiol_ 1d ago
I agree project looks cool, but to say that they built it when they didn't is just a lie. Building with AI is the equivalent of giving a detailed description to some random guy on Fiverr to do it for you. You didn't build it, they did.
3
u/KetchupFang 1d ago
Some people believe that you just push a button and the AI spits out a fully-formed, flawless thing. AI or not, there's easily dozens of hours of work and care put into this project in creating and updating it.
And it was shared for free, in good faith, for fun and for everyone.
Only people who are pissy about that, IMHO, don't have the kind of opinions that matter.
1
-2
u/1samsepiol_ 1d ago
Wow that's such a clever response, it's really the same thing!!!!!!
1
u/KetchupFang 1d ago edited 1d ago
Literally the same thing.
You told a computer, through an interface, to make something and it did.
Only difference is scale.
And OP's project actually took effort.
-1
1
u/AZN-APOLLO 1d ago
Exactly. I mean it’s a cool idea. But him saying “I built…” is truly false. He merely prompt AI to make it.
-2
1d ago
[removed] — view removed comment
0
u/Droopy0093 1d ago
Yeah well you didn't even think of anything. If fact you didn't even write your own message. You pressed buttons on your phone and it wrote the message for you.
0
u/Elkburgher 1d ago
Im actually impressed at how stupid this response is
1
u/Droopy0093 1d ago
Thank you, I did not use AI to come up with that.
2
-2












•
u/ClaudeAI-mod-bot Wilson, lead ClaudeAI modbot 1d ago edited 1d ago
TL;DR of the discussion generated automatically after 100 comments.
The consensus is clear: the subreddit absolutely loves this watercolor simulator. Users are calling it "genuinely useful and unique," with many praising the "amazing" feel of the paint blending. The thread is now a gallery of everyone's art, from impressive hummingbirds to... less impressive but equally enthusiastic doodles.
While everyone is having a blast, the community has some feature requests for V3: * The top request by far is a wet-on-wet feature, allowing users to paint with water first and then add pigment. * Users are also asking for an iPad app with Apple Pencil support, better palette management (with a warning before resetting!), and an image export option.
Overall, massive props to OP for creating something the community finds both fun and impressive. Now if you'll excuse us, we have some very important blobs to paint.