r/creativecoding • • 5d ago

a little stream I coded, water sim and rendering all live in the browser with three.js WebGPU

been cooking this for a while, the water is a shallow water sim in compute shaders and the foam, wetness, ripples and caustics all come from that one field, so nothing is painted on

try it here (WebGPU) : https://stream.mulualem.com

143 Upvotes

66 comments sorted by

9

u/whatThePleb 4d ago

-1

u/Key_Calligrapher6269 4d ago

bold of a comment that's just a subreddit name to call anything uncreative

19

u/allisonmaybe 5d ago

Hey um do your vortexes blow up in finite time? Asking for a friend

-6

u/Key_Calligrapher6269 5d ago

😅

5

u/zumpiez 4d ago

TFW you can't answer questions about your own output

1

u/Key_Calligrapher6269 4d ago

ask one then, shallow water equations on the gpu stepped every frame, no bake. meanwhile you needed a 2012 meme template just to finish a sentence

4

u/zumpiez 4d ago

Do your vortices blow up in finite time?

0

u/Key_Calligrapher6269 4d ago

if they did i'd be cashing a clay institute check instead of replying to you. it's 2d shallow water, no vortex stretching to blow up, worst it does is shock into a little bore and the grid smears it out

5

u/allisonmaybe 4d ago

Hey man, maybe you need a Snickers. NS equations don't even apply to caramel.

5

u/fripletister 4d ago

"I coded" lol sure bud

2

u/GifCo_2 3d ago

You don't even know what they are talking about do you?

18

u/jonheartland 5d ago

I'm begging you vibe coders to try and come up with something more original. But maybe that is paradoxical.

-6

u/Key_Calligrapher6269 5d ago

okay will do that next time

5

u/Spacerulerwill 4d ago

How does it work? Don't ask Claude

1

u/Key_Calligrapher6269 4d ago

shallow water equations stepped on the gpu every frame, no offline bake, all live in the browser. there, answered without asking claude, your move

4

u/SoberSeahorse 5d ago

The water doesn’t seem like water. Like it’s too wet and shiny. Like how a fake gem is too shiny next to a diamond. Too many reflections.

1

u/Key_Calligrapher6269 5d ago

yea it def need more work on those points, will try to get some more work done on it to amend those

4

u/blackrack 4d ago

Please stop posting this claude garbage everywhere

1

u/Key_Calligrapher6269 4d ago

the please is a nice touch, shame about everything after it

4

u/blackrack 4d ago

You can move on and stop dwelling here now

4

u/blastronomical 4d ago

What's next, a spinning cube!?

0

u/Key_Calligrapher6269 4d ago

a spinning cube would still have more depth than this comment

5

u/blastronomical 4d ago

Bro you asked AI to barf up a webGL water demo that looks 10 years out of date and actually thought it was worth posting, maybe focus on that instead of responding to your well-deserved burns

12

u/VictoryMotel 5d ago

Interesting that here you say "I coded" but in the graphics programming where you have to disclose ai usage you admit that it's all claude.

-14

u/Key_Calligrapher6269 5d ago

😅 using claude is the new 'I coded' bruh, thanks for the heads up tho, will be disclosing on all my posts moving ahead

17

u/BipolarKebab 5d ago

bro thinks he's in the club

6

u/More_Yard1919 5d ago

No it's not man... It's not impressive or interesting to anybody that you asked Claude to make some bullshit. Anybody else could ask Claude to do the same shit. Also this subreddit has an explicit no-AI policy so..

0

u/Key_Calligrapher6269 5d ago

sorry if I offended you, I'll do better next time

2

u/properchewns 1d ago

No, you won’t

12

u/WhatDuq 5d ago

It's really not.

That's like saying you cooked a meal, because you ordered it off of doordash. I'm not shaming either, but let's be honest about it. You vibe-coded a water sim - that's fine; fun project. But let's be honest about what we're doing.

3

u/Adn0nnymous 2d ago

when i say “i coded” something it’s usually because i coded it. but maybe i’m the weird one.

-1

u/Key_Calligrapher6269 2d ago

you answered your own question at the end there

2

u/Adn0nnymous 1d ago

what question? i never asked any question.

5

u/VictoryMotel 5d ago

This is just you trying to excuse lying.

2

u/Key_Calligrapher6269 5d ago

I agree brother, will correct in the future, thanks for pointing it out!

0

u/[deleted] 4d ago

[deleted] — view deleted comment

0

u/Key_Calligrapher6269 4d ago

sorry if I offended you in anyway

2

u/GifCo_2 3d ago

Looks like shit. A simple flow map would do better

1

u/Key_Calligrapher6269 3d ago

a flow map is a scrolling texture pretending to be water, this one actually simulates it, but go on, post yours

2

u/GifCo_2 3d ago

Are you illiterate.?? And that's the exact point, a simple fake looks better than this. You failed.

2

u/properchewns 1d ago

“Hey Claud make a water”

“Look at my ossum skills I made this!”

And Christ what is with that sound

0

u/Key_Calligrapher6269 1d ago

misspelled both claude and awesome in a two line roast, maybe ask it for help with that next time

3

u/Spank_Master_General 1d ago

He was taking the piss, they're in quotes so he's mocking you.

4

u/Forsaken-Fault2042 5d ago

It looks interesting, but all the blinding glitter makes it almost impossible to know what's going on

6

u/climbcodecreate 5d ago

Using real water to make digital water. I'm sure someone's said it before.

4

u/_HarmonicOscillator 5d ago

After seeing threejs In a stack I instantly know it was vibecoded

I don't have much problems with vibe code, but I have a problem with people saying they created it themselves. At least say it was Ai assisted 

1

u/weaveer 1d ago

but that hurts their little ego's

-3

u/bla2 5d ago

Looks cool! Do you have the unminified source somewhere?

-4

u/bricksandcanvas 5d ago

For a minute there, I thought my machine died. Good work

-5

u/bigjobbyx 5d ago

Looks cool man

-3

u/Upstairs-Law7117 4d ago

Very beautiful!

1

u/Key_Calligrapher6269 4d ago

thanks, had so much fun building this one

2

u/GifCo_2 3d ago

You enjoy talking to bots eh

1

u/Upstairs-Law7117 21h ago

Who’s the bot here???

-1

u/Upstairs-Law7117 4d ago

good luck bro

10

u/Impressive-Store1439 5d ago

(1) this would only look like water to someone who's allergic to baths or going outside
(2) ts is cuckcoding atp not vibecoding all you do is sit in a chair and watch

1

u/Key_Calligrapher6269 4d ago

two numbered points and still no argument, at least the list format came out nice

0

u/Key_Calligrapher6269 5d ago

oh lord, give me the strength, why this much hate?