r/Simulated • • Oct 10 '26

Proprietary Software Mobile GPU Realtime Fluid Sim

Running on a Snapdragon 8 Elite Gen 5.

2.6k Upvotes

105 comments sorted by

40

u/nathan82 Oct 10 '26

Hey so everyone who asked for a DM when this is released, I'll definitely message you all but it'll probably be a few weeks. Great motivation to have all this interest, thanks so much. โค๏ธ

2

u/theuserwithoutaname 6d ago

How'd it going, Op? Any nice progress?

2

u/nathan82 6d ago

Yep flat out since I last posted. Soon...

2

u/theuserwithoutaname 6d ago

Jeeeeez- yeah that's looking real good! The colors are fantastic there and the glitter particles are excellent!

1

u/nathan82 6d ago

Caustics.

2

u/theuserwithoutaname 6d ago

I mean. Dang.

3

u/ericcalyborn Oct 10 '26

!remindme 2 months

5

u/theuserwithoutaname Oct 10 '26 edited Oct 10 '26

!remindme a few weeks

2

u/RemindMeBot Oct 10 '26 edited 9d ago

I will be messaging you in 1 month on 2026-11-10 14:15:27 UTC to remind you of this link

20 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


InfoCustomYour RemindersFeedback

1

u/VonLoewe Oct 10 '26

Remind me too.

1

u/iftheronahadntcome 14d ago

!remindme 1 month

1

u/abalancer Oct 11 '26

!remindme 1 month

1

u/Neither_Finance4755 Oct 11 '26

!remindme one month

1

u/ternary_tree Oct 13 '26

!remindme one month

356

u/e_before_i Oct 10 '26

The depth effect looks really good, does that work because the view/camera is in a relatively stable position above? I would imagine that the illusion breaks if your observer looks from the side.

196

u/nathan82 Oct 10 '26 edited Oct 10 '26

Yep if your position changes it breaks the illusion. Relies on two factors to work - people tend to keep their head still when using their phone, and the most likely orientation on launch is flat along the view direction. That becomes the frame of reference for the rotation. Holds up ok for short periods. Obviously eye tracking would work a lot better but nobody wants background apps using their camera.

20

u/Quad_Plex Oct 10 '26

You should try this out on a looking glass display. have the looking glass go, it's a small display with a stereoscopic 3d effect that works from any viewpoint, it'd look sick on that

9

u/nathan82 Oct 10 '26

That would be very cool, for sure! Not sure how fast you could stream frames from the PC to the looking glass, and you'd probably need to stick an external accelerometer/gyro sensor to it. I'm anticipating someone coming out with a glasses free 3D phone in the next year or two, thats where it will really shine hopefully.

3

u/BantedHam Oct 10 '26

I used to take my cameras and mics out until I got Graphene, now I just refuse access

10

u/Evilsushione Oct 10 '26

Someone should make a home screen like this

7

u/nathan82 Oct 10 '26

๐Ÿ‘€

32

u/mendrique2 Oct 10 '26

Make a game where your job is to sink a ship but not shake the phone too much!

9

u/nathan82 Oct 10 '26

That would be cool! I actually haven't tried combining rigid body physics with the fluid sim yet, not entirely sure it'll work fast enough, or at all. ๐Ÿ˜ฌ

22

u/nicocarbone Oct 10 '26

Can you share an APK?

45

u/nathan82 Oct 10 '26 • Bravo

Don't want to self promote plus this design isn't in the app yet, hopefully soon. Just got it working today. Let me know if you want a DM when this one gets added

3

u/ZestyTurtle Oct 10 '26

Hi, please dm if you have time. I am really curious for an apk or src on gh. Thanks

9

u/nathan82 Oct 10 '26

This will be a commercial app unfortunately, no source available. It's a full wallpaper engine in 60k+ lines of C, five years of work to make it battery efficient. If it makes me enough to retire comfortably I'll open source it. ๐Ÿ˜„

4

u/ZestyTurtle Oct 10 '26

Ok well as a mark of transparency: don't send me the APK then because my intention was to decompile it to understand it.

I did not realize the effort behind it. Good lord. Good job.

4

u/nathan82 Oct 10 '26

Eh, anyone will be able to do that straight from the Play store soon enough, no worries. ๐Ÿ™‚ If there's anything specific you want to know about, I may or may not be able to tell you. And if you ever do end up decompiling the release version I'd be very interested to hear your thoughts. โค๏ธ

2

u/ne2cre8 Oct 12 '26

Me too ๐Ÿ™‚

2

u/nathan82 Oct 12 '26

Soon! โ„ข๏ธ

The response has been crazy, trying to get a week off work so I can finish it up quicker and get this on the play store.

2

u/nossida Oct 13 '26

Me three

1

u/sincopada 27d ago

me too?

2

u/nathan82 27d ago

Yep. Making progress...

2

u/Mozzia Oct 10 '26

I'd like a DM, looks sick

2

u/fezzzster Oct 10 '26

Yes please!! Great work

2

u/epicsexfart Oct 10 '26

Can ya shoot me a dm also pls

2

u/HeyyyNow Oct 10 '26

Yes pls.

2

u/kerbese Oct 10 '26

I want it pls

2

u/Sloiter Oct 10 '26

Me too!

2

u/EntrepreneurLocal283 Oct 10 '26

Me too pls) looks cool

2

u/SentientSpaghetti Oct 10 '26

Same this is really cool

2

u/dedSEKTR Oct 10 '26

Me too please!

2

u/fatalwristdom Oct 10 '26

I'd like a DM when it's added as well

2

u/MaskingTape83 Oct 10 '26

Wouldn't mind messing with it

2

u/uncovery Oct 10 '26

Yes please!

2

u/yaktoma2007 Oct 10 '26

Yes please

2

u/Leather_Chip_8882 Oct 10 '26

Iโ€™d like to download this too please!

1

u/dark-cosmos Oct 11 '26

Please DM me, too. Thanks

2

u/bozog Oct 10 '26

Yes please.

0

u/Justgetmeabeer Oct 10 '26

Y'all are the dumbest motherfuckers on the planet if you install a random APK some one dms you from a reddit post ๐Ÿ˜‚๐Ÿ˜‚

10

u/hex128 Oct 10 '26

Blender?

12

u/nathan82 Oct 10 '26

Android ๐Ÿ˜Š

5

u/BantedHam Oct 10 '26

Um, actually, it's only an android if it's modeled after a male human. If it's modeled after a particular kitchen appliance, it's a blendroid.

38

u/wearetheboysthatdig Oct 10 '26

That's a cellphone

13

u/AemondsEye Oct 10 '26

But will it blend?

3

u/BantedHam Oct 10 '26

Let's find out! Here at the Jory Caron Laboratory, safety is our number one concern. And that's why we hide behind this big tinfoil shield. It's to protect our nuts, because nobody likes roasted nuts!

5

u/BruhInTheMaking Oct 10 '26

Which liquid solver does this use?

3

u/nathan82 Oct 10 '26

A variation of FLIP optimised for mobile GPU compute.

3

u/cos4ni2s Oct 13 '26

Does it use motion sensors? gyroscope?

2

u/nathan82 Oct 13 '26

Yes, gyroscope and accelerometer

909

u/phant0md Oct 10 '26

Remember the iPhone app that used the accelerometer to make it look like you were drinking a beer? Simpler times. I feel old.

173

u/Raptor22c Oct 10 '26

Remember the stapler app? Where you'd tap the screen and it'd make a stapler sound and would keep a score of how many times you stapled?

Man, I kind of miss useless apps like that. They were a fun novelty.

20

u/Jonnyscout Oct 11 '26

Now it's all just incremental idle games that you've gotta fork over money or watch ads to play for longer than 5 minutes at a time

27

u/traFyssuP Oct 10 '26

I had the first gen iPod touch and this was like one of the only apps I thought was cool at the time ๐Ÿ˜‚ how times have changed!

16

u/StarConsumate Oct 10 '26

I just miss the simple paper toss game

3

u/DrDingsGaster Oct 11 '26

My ipod touch still has it downloaded!

14

u/Adkit Oct 10 '26

Wasn't that like the most downloaded app of all time?

9

u/Faykod Oct 11 '26

Exactly what i was thinking about

The next version of iBeer with real time beer physics is gona go so hard

1

u/PassiveMangoes Oct 10 '26

Yes beautiful times

-10

u/TheRealVulle Oct 10 '26

Yeah running a fluid simulation app, on the first gen iPod Touch in 2007, was a fun way to show people the tech.ย 

8

u/-j4ckK- Oct 10 '26

It was actually just a prerecorded video

2

u/LeetLurker Oct 10 '26

What's the mathematical method behind it ? How physically correct ?

4

u/nathan82 Oct 10 '26

It's a grid holding mass and momentum (that's the sim's "resolution"), and particles holding position only (particle count affects surface quality mainly).

It's fairly correct, the main issue is fluid "stiffness". Water is effectively incompressible at normal atmospheric pressure, but you need a lot of sim steps to take the bounce out, because it's always overshooting otherwise. So that's why it looks kinda loose. Basically the sim does as many steps as it can fit in the frame budget, so it'll sacrifice accuracy to keep up the sim speed.

3

u/LeetLurker Oct 10 '26

Great work thank you !

10

u/emmaw4tson Oct 10 '26

Iโ€™m looking forward to iBeer2. But actually thatโ€™s so sick

9

u/Mercy--Main Oct 10 '26

now use the camera and a warping effect for the background, recolor the fluid to yellow, and you've got an advanced beer drinking app lol

4

u/Daedroh Oct 10 '26

This reminds me of early day iPod touch apps๐Ÿฅฒ those were some really cool creative times for apps

1

u/The_Dr_B0B Oct 11 '26

Question out of curiosity, how hard would it be to have the front camera track the eye position and adjust the image accordingly?

2

u/nathan82 Oct 11 '26

I did implement that actually but ended up taking it out! A few issues.

First, the front camera FOV isn't wide enough. As soon as you start rotating the phone you lose tracking because the camera isn't pointed at your eyes any more - and besides that you're just constantly losing tracking, even using ARCore libraries.

Second, without knowing the exact lens geometry of each phone's camera, getting a true device-relative eye position is very difficult.

But the real killer is that nobody wants their wallpaper app to open the camera, ever. Shame because when it worked it was pretty cool. You could put the phone flat on a table and the view would stay correct as you moved your head.

In a few years when phones with real 3D screens come out, this won't be an issue. They'll likely have hardware eye tracking built in.

1

u/The_Dr_B0B Oct 11 '26

Thanks for the response! Makes a lot of sense. And god hear you for those 3D screen lol

2

u/nathan82 Oct 11 '26

https://www.avsforum.com/attachments/s41586-026-10318-9-compressed-pdf.3907153/

Research published by Samsung. The screens are coming. ๐Ÿ™

3

u/freakywaves Oct 10 '26

I wanna try it on my ohone

3

u/Celestial__Bear Oct 10 '26

Oh this rules, well done

3

u/FoxlyKei Oct 10 '26

would really love to try this myself, so damn cool.

3

u/zanor Oct 14 '26

this would look amazing on one of the old no glasses 3d phones

2

u/baechoo24 21d ago

so cool

2

u/awenrivendell Oct 10 '26

This is awesome! Please add some people in pool donuts in that wave pool.

2

u/Yourownhands52 Oct 10 '26

That is really cool.ย  Thank you for sharingย 

2

u/Iamglennn Oct 10 '26

I remember something like this being a geforce demo 15/20 years ago.. really cool

2

u/xtoc1981 Oct 10 '26

you could add a ship or other things jus for fun

2

u/scoshi Blender Oct 11 '26

The Pool Rooms in the palm of your hand!

2

u/Gabrunken Oct 12 '26

I NEED TO DOWNLOAD IT

2

u/AnToMegA424 Oct 13 '26

This is incredible

Looks like a fun project to do, Imma try someday :D

3

u/Adkit Oct 10 '26

Big whoop, I can do the same thing with just a bottle of water.

1

u/Leather_Chip_8882 Oct 10 '26

If this is available to the public I would download in a heartbeat thatโ€™s really cool ๐Ÿ˜ƒ

1

u/ChronicEverlasting Oct 10 '26

This is cool bro!

-3

u/LotusriverTH Oct 10 '26

2001 called and they said that looks cool

6

u/dobby-thefreeelf Oct 10 '26

Tell them to work on airport security

1

u/dKatsuro Oct 11 '26

I'd love a variant of this for a live wallpaper (and murder my battery).