Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,814 Members 51,674 Now Online
XDA Developers Android and Mobile Development Forum

[APP][Updated] Fleya v2.9.8 - realtime fluid dynamics for Android

Tip us?
(Last edited by mirceanis; 16th June 2011 at 01:32 PM.) Reason: new version & screenshots
mirceanis's Avatar
Retired Recognized Developer - OP
Thanks Meter 29
Posts: 21
Join Date: Dec 2009
Location: Bucharest

Thumbs up [APP][Updated] Fleya v2.9.8 - realtime fluid dynamics for Android

Fleya is a FREE realtime fluid simulation for your Android phone.
But you don't have to be a physics specialist or an engineer to enjoy it.
Just swipe your finger across the screen to see why.

You can find it in the Android Market as "Fleya", or scan the QR code at the bottom of this post.
The app is also available on SlideMe and YAAM.

Main features:
  • Awesome fluid engine
  • Sensitive to accelerometer
  • Multi-touch (the code can interpret 20 fingers on the screen but it depends on the hardware capabilities of your phone)
  • Save images to SD, instantly available in image gallery
  • Option to choose simulation resolution and accuracy (higher settings mean slower simulation though)
  • Ability to choose your own colors as well as built in color presets

Tech notes:
The fluid engine is written in native code. It's probably the fastest engine currently on the market (please correct me if I'm wrong). A lot of work went into optimizations and now it's about 20 to 30 times faster than it used to be (I started with the theoretical code).
The concept is this:
Your screen turns into a box of 2D "smoke". You inject fluid with your fingers and when your fingers move, the fluid gets agitated. The fluid is colored according to it's temperature and you can choose 5 colors for the temperature scale gradient.
Temperature also influences the fluid when combined with the accelerometer through the Gravity setting. Hot fluids go up, cold fluids go down.
There are 3 fluid presets that ignore temperature and are colored according to density (Smoke, Ink and Cloud). The difference is in the interaction with the accelerometer. They are not pushed up or down according to the static orientation of the phone. They only react to sudden changes in orientation when the gravity setting is turned up.

I have a ton of other features fighting for attention in my head but very little time to implement them. I try my best but your suggestions would really help prioritize them.
For any comments, suggestions or questions, please leave a comment or send an email.
With your help, the best is yet to come.
Check out the official site at or find Fleya on facebook.
You can also use this moderator page to submit ideas or vote on other ideas:

This app is totally free and I would like to keep it that way, so please don't complain about the ads. I have made them as unobrusive as possible and they use very little bandwidth.
You see, I have this dream where I could use all my time to build cool free apps and still be able to eat. I implemented ads as a means for you to show your appreciation at no cost.

If you like my work and would like to see more interesting apps support me with good comments and high in the market and recommending the app to your friends or in blogs, tweets and forums.
If you really really like it, donate either here on XDA or on the official site.
If you don't like it, that's just as fine as you can either ignore it or comment and help me improve my work.

Check out these pictures for a preview. You can make your own using Fleya
You HAVE to see it running because pictures are worth nothing compared to the live action!

Also, I have never seen it running on an Android Tablet so, if you have any, please tell me how it runs or, better yet, post a video on youtube and share a link.
XDA user TheGrammarFreak has shared this YouTube video of Fleya on a Galaxy Tab. Thank you very much.

  • Jos Stam - for a very nice paper on numerical simulation of fluid dynamics in real-time (
  • The worldwide android community - for posting lots of tutorials and allowing me to go from noob android developer to Android market in just a couple of weeks.
  • My girlfriend - for allowing me some spare time to build this app
  • My boss - for not noticing my working on personal projects during company time

The Following 26 Users Say Thank You to mirceanis For This Useful Post: [ Click to Expand ]
orb3000's Avatar
XDA Portal Team / Senior Moderator
Thanks Meter 3,035
Posts: 22,280
Join Date: Feb 2007
Location: T r a v e l i n g Likes: HTC & XDA Dislikes: apples...

Great looking!!!

HTC Butterfly 2 coming! - HTC One M8 - HTC Universal

XDA is about developing and is for developers. Any user that recognizes that will gain the most benefit from this site

This is and always will be a site for developers, pure and simple. Without them we are nothing, without them there would be no reason for XDA Developers to exist; we should never ever forget that. Without them this place would not be called XDA-Developers but something else, e.g Mobile Phone User Support Services For Ungrateful Nerds.

Previous devices: HTC: Treo 650 - Excalibur - Diamond - Diamond 2 - Maple - HD2 - Rhodium - Desire Z - Desire HD - Vivid - Sensation - One V - One X - Titan II - One X+ - DNA - Butterfly
iridium21's Avatar
Senior Member
Thanks Meter 94
Posts: 840
Join Date: Jul 2009
Location: Lancashire
For someone like me who has a love of physics & engineering, it's great!

Thank you.
If any of my posts have helped you, please don't feel obliged to click the THANKS button.

I really don't give a t*ss if you do, or you don't.

secondskin's Avatar
Senior Member
Thanks Meter 76
Posts: 397
Join Date: Oct 2009
Location: Pennsylvania
This is really neat! Is there any possibility of integrating this into a live wallpaper? That would be bad ass! It could function the same as now with touch. I know there are live wallpapers like Plasma and such but they're constantly moving and don't react to touch or look as great as this.
Sent from my PC36100 using XDA App
Got Rom?
(Last edited by beardedspoooon; 26th February 2011 at 04:27 AM.)
Senior Member
Thanks Meter 213
Posts: 462
Join Date: Sep 2010
5 stars for you! Would make for an awesome live wallpaper.

Would also be cool if the ones like "hot and cold" had 2 point multitouch going on.

Sent from my Droid using XDA App
The Following User Says Thank You to beardedspoooon For This Useful Post: [ Click to Expand ]
Barbarian's Avatar
Senior Member
Thanks Meter 293
Posts: 919
Join Date: Dec 2010
Location: Arizona
Very cool.
rosenbaa29's Avatar
Senior Member
Thanks Meter 19
Posts: 227
Join Date: Jan 2011
Location: Chicago, IL
Thumbs up Great App!

Great App! For some reason, its addicting. lol. One of those apps where there will always be a situation that pops up where Fleya would be useful, for us math and science nerds. Thanks for the post!
The Following User Says Thank You to rosenbaa29 For This Useful Post: [ Click to Expand ]
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Jun 2010
5 stars!
Would be awesome for this to be a live wallpaper.

Would also be cool if the ones like "hot and cold" had 2 point multitouch going on also.
Junior Member
Thanks Meter 2
Posts: 21
Join Date: Sep 2010
pretty cool, after a few minutes I tried using two point touch... would probably make it significantly more intensive to program.

thanks for making it, puts a grin on my face
The Following User Says Thank You to initialjdg For This Useful Post: [ Click to Expand ]
Thanks Meter 3
Posts: 50
Join Date: Jan 2011
pretty darn kewl.

A few things that might be really kewl.

Multi touch.
More colors.
Random color wheel.

The Following User Says Thank You to nlancaster For This Useful Post: [ Click to Expand ]
android, fluid dynamics
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes