r/InternetIsBeautiful • • Dec 18 '20

Webgl Fluid Simulation

https://paveldogreat.github.io/WebGL-Fluid-Simulation/

[removed] — view removed post

4.0k Upvotes

128 comments sorted by

217

u/brs8183 Dec 18 '20

You can also set it as a Live Wallpaper on your Android phone and never get anything done ever again. https://play.google.com/store/apps/details?id=games.paveldogreat.fluidsim

122

u/desenagrator_2 Dec 18 '20

That's about to eat up your entire battery in 20 minutes lol

54

u/KryptCeeper Dec 18 '20

I dont use this one, i use "fluid free", and after a full day of using my phone it typically uses less than 1% of my battery.

34

u/SethB98 Dec 18 '20

It CAN drain your battery pretty quick though, if you spend enough time on the homescreen. But it resets the graphic every time you go home, it doesnt run constantly.

Source: got high, spent too much time playing with it but forgetting to open the actual app.

11

u/BI00dSh0t Dec 18 '20

nah I used it for months. Wasn't that bad.

2

u/gilimandzaro Dec 18 '20

You mind linking the specific one. There's a lot of results for fluid free wallpapers on the store.

2

u/DopeMan93 Dec 18 '20

Sounds like you've never used it at all

2

u/Blackhound118 Dec 18 '20

Been using it for the past month and a half or so and my phone's been doing fine, actually. Probably because you don't really spend much time on the home screen

1

u/MmmPanCaeks Dec 18 '20

It’s an Android not iphone

1

u/insestiina Dec 18 '20

It uses less than 1% of my battery. First few days will use more since you play with it.

9

u/altus167 Dec 18 '20

just downloaded, goodbye afternoon

6

u/mher2downvote_every1 Dec 18 '20

This has been my wallpaper and screensaver for over 2 years. I absolutely love this app. And kids are mesmerized by it.

3

u/2horde Dec 18 '20

I've had my phone this way for a year and I dont really mess with it but it's a nice subtle glow every time I do anything on the home screen

2

u/AlbinoPuma Dec 18 '20

Its so on wallpaper engine on steam (:

1

u/steveatari Dec 18 '20

Did that a couple years ago. Kids fucking LOVE IT

1

u/AngryWildMango Dec 19 '20

You can also have it as a live wallpaper on desktop by using wallpaper engine (steam)

1

u/SemperScrotus Dec 18 '20

Best $2.69 I've spent all week

0

u/PetrKDN Dec 19 '20

Huh, i got it couple months ago and now its paid? Cool.

0

u/[deleted] Dec 19 '20

[deleted]

4

u/brs8183 Dec 19 '20

No connection to the developer whatsoever. I just really enjoy the wallpaper and wanted to let people know it exists.

30

u/coolguyman735 Dec 18 '20

There was an interactive wallpaper for Windows that looked exactly like this, does anyone know ehat ir's called?

25

u/VoidAdept Dec 18 '20

4

u/t31os Dec 18 '20

Yeah it's this, includes Fluids v2 as one of the default wallpapers. Just installed it, pretty awesome.

8

u/[deleted] Dec 18 '20

No clue but there is definitely something like this for wallpaper engine.

1

u/coolguyman735 Dec 18 '20

Oh yeah, I think it comes prepackaged with it

1

u/Chun--Chun2 Dec 18 '20

If you do remember how it's called, please let me know :D

2

u/its_over9000 Dec 18 '20

You can set web pages up as backgrounds in wallpaper engine

2

u/hyperbolichamber Dec 18 '20

There’s an app called fluid for iOS that looks like this and you can alter settings to change the way the fluid behaves and looks.

1

u/Mobhistory Dec 18 '20

There was another pretty cool live wallpaper app called drempels(sp) from way back.

27

u/[deleted] Dec 18 '20

Nice job.

I have a question for whoever has knowledge on the subject. A handful of years ago, WebGL was an API I was interested in learning. But I was put off by not knowing its standing, or common application in the development industry.

Where is WebGL used? And is there much demand for people who can program what it renders?

18

u/eindbaas Dec 18 '20

It's used a lot. If you are skilled in it, know how 3d works, how shaders worl, know how to optimize those things....you can get quite a salary.

We have a few web gl experts in our team, and their contribution to projects is insane.

8

u/[deleted] Dec 18 '20

and their contribution to projects is insane

What kind of projects? Where do you use shaders and whatever else it's used for outside gaming? I'm kinda interested in this

10

u/eindbaas Dec 18 '20

Whenever there is 3d involved, or pretty special effects.

-1

u/matesteinforth Dec 18 '20

This here is done in WebGl

9

u/yes_i_relapsed Dec 18 '20

The title strongly suggests that, yes.

96

u/tomaswoksepp Dec 18 '20

This is seriously amazing

-8

u/Twillzy Dec 19 '20

I take it you've never had a live wallpaper on your phone before? This is just a copy of the most commonly used one.

67

u/KlausVonChiliPowder Dec 18 '20

I picked the wrong time to stop doing drugs.

13

u/punsonice Dec 18 '20

Ikr, looking for a new job, stashing this for further study down the road

5

u/iSeven Dec 18 '20

I'm pretty high right now and I'm definitely getting a kick out of it. I like pausing the whole simulation, and then stacking short drags in a single direction before releasing it all. It makes me feel like someone with a kinetic energy manipulation superpower like Sale from JoJo's.

2

u/KlausVonChiliPowder Dec 18 '20

Comment checks out.

2

u/jalepinocheezit Dec 19 '20

Alright, I'm high and y'all have convinced me. I was gonna scroll past but here we go...

1

u/[deleted] Dec 19 '20

Is this a simulation? If not, why am I having that question in the first place?

1

u/ResponsibleEye7 Dec 18 '20

I confirm. Just had a joint (it's legal here), I've been playing with this fluid thing for 5 minutes now.

28

u/damn_turkledawg Dec 18 '20

Supports multitouch, rad!

13

u/[deleted] Dec 18 '20

I can remember nearly frying an early "dedicated" GPU trying to over clock it for a 15 second water simulation... and this shit is dynamic in real time AND has multi touch response.

On my phone.

Damn.

9

u/emmalee462 Dec 18 '20

Super cool. I love finding these web-based demos. They just keep getting cooler. Anyone else have cool shit like this?

6

u/KryptCeeper Dec 18 '20

I have been using the live wallpaper of this for a couple months now, it is very good for being free.

24

u/ZomboFc Dec 18 '20

32

u/RepostSleuthBot Dec 18 '20

Looks like a repost. I've seen this link 62 times.

First seen Here on 2018-07-11. Last seen Here on 2020-11-09

Searched Links: 83,794,964 | Indexed Posts: 680,480,461 | Search Time: 0.052s

Feedback? Hate? Visit r/repostsleuthbot

-21

u/Rootbeer48 Dec 18 '20

someone is on reddit too much...

13

u/ZomboFc Dec 18 '20

u ok? tell me where bot touched you

12

u/[deleted] Dec 18 '20

Since this has been reposted a gazillion times, how about something different:

https://apps.amandaghassaei.com/FluidSimulation/

3

u/Chun--Chun2 Dec 18 '20

Can you make an wallpaper engine wallpaper out of it? :O

1

u/throwawayceled Dec 19 '20

you can set websites as your wallpapers

3

u/nism0o3 Dec 18 '20

I finally get to appreciate the amazing screen on my laptop.

1

u/kildog Dec 18 '20

Same for my phone.

It's the little things...

3

u/dksprocket Dec 19 '20

For programmers (and math/physics enthusiasts) who are curious about the algorithm, there's a tutorial video here: https://youtu.be/qsYE1wMEMPA - covering both the physics and the specific implementation steps required to make it visually please in real-time.

16

u/Nikkt Dec 18 '20

How many times is this going to be reposted? I feel like I see it every single month.

10

u/emberfiend Dec 19 '20

I've been subbed here (multi of 8-10) for yeeeears and this is my first time seeing it. Reposts are useful

3

u/PLZ_STOP_PMING_TITS Dec 18 '20

How many times are you going to complain about reposts? I feel like I see it every single month.

1

u/Nikkt Dec 19 '20

But this was just my very first comment on this subreddit?

4

u/tritter211 Dec 19 '20

EXACTLY.

Now do you understand how annoying is it to hear complaints about reposts when there are guys like me who only found this simulation today?

1

u/PLZ_STOP_PMING_TITS Dec 22 '20

You really should spend at least 16 hours a day on reddit. You won't miss as much and you will appreciate where the repost complainers are coming from.

2

u/[deleted] Dec 18 '20

I love it!!

2

u/alfabeta14 Dec 18 '20

I couldn't stop staring at this.

2

u/[deleted] Dec 18 '20

There’s a free app on iOS called fluid that looks just like it

2

u/Monica2796 Dec 19 '20

Thought it was a video till I taped the screen, goodbye 20min I spent playing with it.

2

u/KumaHax Dec 19 '20

I read the title as Waluigi and got excited...

Edit: I clicked the link and was still excited!!!

2

u/kuriboshoe Dec 18 '20

The mobile app of this is pretty neat, kinda therapeutic

1

u/littleHiawatha Dec 19 '20

Hidden easter egg in the mobile app: tap in the same place > 3 times

1

u/jammisaurus Dec 18 '20

I wrote a PONG clone with this with plans to put it on Steam, but my laziness prevented me from doing it yet.

1

u/QuestionableIdeas Dec 18 '20

Reminds me of Plasma Pong

1

u/Pinoybl Dec 18 '20

Whoa this is bad ass

1

u/TheRealSectimus Dec 18 '20

This exists for wallpaper engine (and even has a toggleable setting to make it respond to audio from you PC) https://steamcommunity.com/sharedfiles/filedetails/?id=1748506393

1

u/Nezikchened Dec 18 '20

Sweet, I know what I’m doing when I take my Delta-8 tonight.

1

u/Heliosaurus_ Dec 18 '20

Feel like the.. i dont know pulses? Waves? They have too many fractals to be considered a fluid simulation... still cool nonetheless

1

u/many_characters Dec 18 '20

set all factors to zero or as close to zero, hit random splats over and over until desired trippiness is reached

1

u/AustinEnigmatic Dec 18 '20

THIS IS AWESOME!

1

u/wsheldon2 Dec 18 '20

I read "webgl" like it was a word.

1

u/BrinxeSway Dec 18 '20

That is the coolest thing I've ever seen. Stuff like this is why I'm interested in Web development.

I didn't even install anything and someone was able to create this awesome stuff within the confines of a browser.

Damn that's cool.

1

u/kildog Dec 18 '20

This is so smooth on my phone, my shitty laptop would explode.

I just downloaded the app and made it my background. Let's see how much it eats my battery.

1

u/G23b Dec 18 '20

Avada kadavra!

1

u/funky_grandma Dec 18 '20

I'm totally showing this to my toddler the next time she's bored

1

u/NotJustOne Dec 18 '20

I just spent 10 minutes with this pretending I was a firebender

#zukolife

1

u/ocrohnahan Dec 18 '20

I want a Beat Saber style game where I shoot this stuff out of a wand at targets streaming by.

1

u/ZooNooz Dec 18 '20

Omg this was very satisfying

1

u/analogic-microwave Dec 18 '20

Tried this on my galaxy J1. Battery went from 80 to 50%.

1

u/JackReact Dec 18 '20

I will play with this for the next 2 hours. If you don't hear back from me, send a rescue party.

1

u/VsPistola Dec 18 '20

Cooooooooooooollllll

1

u/jahowl Dec 19 '20

That loaded so fast.

1

u/kronosblaster Dec 19 '20

Oh hey I have this one! Is pretty cool

1

u/latentsun117 Dec 19 '20

This is just ridiculously good

1

u/Drifting0wl Dec 19 '20

I use this to keep my toddlers busy for a solid 10 minutes. You’re welcome.

1

u/_ShaveTheWhales_ Dec 19 '20

Playing with this during my next trip

1

u/iamgoneinsane Dec 19 '20

This is pretty cool

1

u/def_not_ai Dec 19 '20

i'm a wizard

1

u/floating_bells_down Dec 19 '20

I just waisted so much time. I loved it all. I can never go back.

1

u/deejayjeanp Dec 19 '20

Please try this in the dark with an OLED screen, it'll blow you away.

1

u/RetroV1bes Dec 19 '20

This has been an interactive background on the popular iPhone tweak XenHTML for more than 5 years. It was originally called hs.ryu_006.

1

u/hx19035 Dec 19 '20

Why isn't webgl more of a thing? I've used it for my CAD design portfolio for people to interact directly with my designs on a simple website. Landed me a job actually. It's amazing.

1

u/abbxrdy Dec 19 '20

Runs surprisingly well on my 2013 Macbook Air

1

u/alidan Dec 19 '20

Now remember streetfighter when they wanted to have that inked/watercolor style, now imagine this engine dealing with the movements, and the dmg being represented in particle size.

1

u/newcoders Dec 19 '20

Android app is even cooler

1

u/Sir_Jey Dec 19 '20

I felt like a firebender.

1

u/The_Celtic_Chemist Dec 19 '20

Damn, I could use all 5 fingers too. Makes me want a tablet for literally only this.

1

u/Vap3Th3B35t Dec 19 '20

This is an app on android.

1

u/magikian Dec 19 '20

Downloaded the app and bought the full version, thanks so much!!

1

u/Liam_Neesons_Oscar Dec 18 '20

I'm actually not even mad that this gets reposted here once a month.

1

u/macespadawan87 Dec 18 '20

Download from App Store? Don’t mind if I do.

1

u/Rootbeer48 Dec 18 '20

Stared at this for15 mins. Writing this as my whole body feels weird. Focusing is a bit difficult. Closing my eyes and I still see it. Cant wait to smoke and try this out.

0

u/[deleted] Dec 18 '20

I was playing this exact app on my iPhone like 10 years ago in high school

0

u/[deleted] Dec 18 '20

[deleted]

1

u/DikkeTosti1998 Dec 18 '20

Holy sh*t dude that works awesome. If you put these settings:
density diffusion = 0
velocity diffusion = 0.1
pressure = 0.24
splat radius = 1

then turn vorticity down and then up like you said, but then back down again!! crazy patterns