LogoLogo
  • Home
  • Projects
  • About
  • Contact

Multitouch Fluid Dynamics with AIR for Android and RTMFP

Devon O. · January 19, 2011 · Actionscript · 3 comments
8

The other day I was having some fun playing around with Eugene Zatepyakin’s (aka @inspirit) FluidSolverHD (Actionscript port of C++ fluid dynamics library, MSAFluid. Or is MSAFluid, the processing/java port of the C++ library? In any case it’s a very cool fluid dynamics thingamabob – the HD version using Alchemy).

After a bit of tinkering, I began to wonder how well FluidSolver would run on an Android device using AIR for Android. I quickly discarded that idea though and thought maybe I could run the FluidSolver on the pc but control it from the Android device (turns out I was right in doing so. Just for kicks I later tried running FluidSolver on my Android phone. It starts off at a nice 20 frames per second or so then rapidly degrades to around 3 FPS. Then I shut it down before it just crashed my phone altogether).

So I dug into a bit of RTMFP – which is something I’ve been wanting to play with ever since checking out Jozef Chúťka’s (aka @jozefchutka) Remotair application. In fact, I could have built this thing using Remotair, but I wanted to get my hands dirty with a bit of code and learn myself something new. In any case, I do recommend the app – it’s very nice.

Anyway, an hour or two later, and I had the thing working and was actually quite surprised by the results. It runs much better than expected – multitouch enabled and all.

You can check out the final product in action in the video below…

Get Adobe Flash player

…

  Facebook   Pinterest   Twitter   Google+
  • BetweenAS3, Through AOS, and Around FOTB
    July 27, 2009 · 2 comments
    2115
    3
    Read more
  • Magnify – a jQuery Plugin
    December 11, 2011 · 5 comments
    2549
    9
    Read more
  • Starling, Nape Physics, and PhysicsEditor
    November 25, 2012 · 11 comments
    8095
    15
    Read more
3 Comments:
  1. Hellow!!
    Your application so cool!!
    can u give me this code!!?
    I am a student, and wnat to test this…
    I’m form Taiwan, and my English is poor~

    Rensky · May 16, 2012
  2. really cool !
    How many touch point can you manage ?

    YopSolo · October 23, 2012
  3. Nice. I’ve just purchased an Android Tablet (toshiba thrive) which is running Android version 3.2.1 I’ve been trying to figure out a way to run MSAFluid on the tablet in full screen. Is this something that is fairly easy to do? I’m able to run MSAFluid just fine in Porcessing on windows, but now I’d like to run it on the tablet instead.

    Thanks.

    James · June 29, 2013

Leave a Comment! Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Devon O. Wolfgang

AIR | Unity3D | AR/VR

Unity Certified Developer

Technical Reviewer of “The Essential Guide to Flash CS4 AIR Development” and “Starling Game Development Essentials”

Reviewer of “The Starling Handbook”

Unity Engineer at Touch Press.

Categories
  • Actionscript (95)
  • AIR (16)
  • Flash (99)
  • Games (7)
  • Liberty (13)
  • Life (53)
  • Shaders (20)
  • Unity3D (21)
Recent Comments
  • MainDepth on Unity Ripple or Shock Wave Effect
  • Devon O. on Unity Ripple or Shock Wave Effect
  • Feral_Pug on Unity Ripple or Shock Wave Effect
  • bavvireal on Unity3D Endless Runner Part I – Curved Worlds
  • Danielius Vargonas on Custom Post Processing with the LWRP
Archives
  • December 2020 (1)
  • December 2019 (1)
  • September 2019 (1)
  • February 2019 (2)
  • December 2018 (1)
  • July 2018 (1)
  • June 2018 (1)
  • May 2018 (2)
  • January 2018 (1)
  • December 2017 (2)
  • October 2017 (1)
  • September 2017 (2)
  • January 2017 (1)
  • July 2016 (1)
  • December 2015 (2)
  • March 2015 (1)
  • September 2014 (1)
  • January 2014 (1)
  • August 2013 (1)
  • July 2013 (1)
  • May 2013 (1)
  • March 2013 (2)
  • December 2012 (1)
  • November 2012 (1)
  • September 2012 (3)
  • June 2012 (2)
  • May 2012 (1)
  • April 2012 (1)
  • December 2011 (2)
  • October 2011 (3)
  • September 2011 (1)
  • August 2011 (1)
  • July 2011 (1)
  • May 2011 (2)
  • April 2011 (2)
  • March 2011 (1)
  • February 2011 (1)
  • January 2011 (2)
  • December 2010 (3)
  • October 2010 (5)
  • September 2010 (1)
  • July 2010 (2)
  • May 2010 (5)
  • April 2010 (2)
  • March 2010 (7)
  • February 2010 (5)
  • January 2010 (5)
  • December 2009 (3)
  • November 2009 (1)
  • October 2009 (5)
  • September 2009 (5)
  • August 2009 (1)
  • July 2009 (1)
  • June 2009 (2)
  • May 2009 (6)
  • April 2009 (4)
  • March 2009 (2)
  • February 2009 (4)
  • January 2009 (1)
  • December 2008 (5)
  • November 2008 (2)
  • September 2008 (1)
  • August 2008 (6)
  • July 2008 (6)
  • June 2008 (9)
  • May 2008 (4)
  • April 2008 (3)
  • March 2008 (4)
  • February 2008 (9)
  • January 2008 (7)
  • December 2007 (6)
Copyright © 2021 Devon O. Wolfgang