Pages

Friday, March 18, 2011

Realtime fluid dynamics for Android

Version 2.6 of Fleya was uploaded today to the Android Market.
This update comes with French, Spanish and Romanian translations (credits go to Zen for French and Spanish).

I didn't get to post anything on version 2.5 that had more changes packed into the code.
The most important changes are multitouch support, option to save images to SD and 3 new palettes.

While developing this update I was surprised to find out about the poor multitouch support of many android devices. I wrote the code to handle 20 fingers on the screen but found that my HTC Magic only reports 2 fingers. Not only that, but those touch coordinates sometimes get reported in weird locations. Apparently, the touch sensor is actually single touch and dual touch is only a hack put in for pinch zoom gestures which are the most common.

Now you can save the images you generate with Fleya to your SD card (they get saved to sdcard/Pictures/Fleya/).

Screenshots:
Seahorse Nexus Clash of colors Clover
4 whilrpools Blood and silk Zero G separation Christmas candy
Turbulent vapor Just before hit Smile Drops of color
In eachothers' way Separate directions



Enjoy!

Scan the QR code below with an android phone and give it a try:

5 comments:

  1. is it possible to save not only a picture but a video???? I would like to juse it on film to back up a music video... is it possible to work it on a laptop computer as well..with a touch pad
    good work up to now greetings
    sabine

    ReplyDelete
  2. Hey Sabine,
    Currently, recording a video from Fleya on the phone is not possible. Android only provides video encoding for data from the camera so the only way to record video from Fleya would be to write the codec myself. While this would be challenging and interesting, unfortunately I don't have the resources to do that now.

    There is no version of Fleya for PC/laptop but it can be run on an Android emulator and some screen capture software could be used to record a video. However, that requires some technical skills.

    ReplyDelete
    Replies
    1. Hey Mircea,

      first
      I admire the work you have done.. real pro.

      you can use omax to envoke the HW video encoder with any bitmap, so there is no need to write a codec.

      I've started writing for android not long ago for a live performance where the smart phone screen is being projected on a wall and a dnacer react to a touch events of a guy holding the device and put her in the camera.

      Is it possiable to import your app as view and add it to my app, or do I have to have the code for it?
      Is there a kind of precompiled libs in android.
      Would you be willing to share this kind of lib with me so my performance art would boost. (I can give you the end code in return were your application is on top of the camera previe output)

      Regards,
      Amit

      Delete
  3. This would be a really great active wallpaper!

    ReplyDelete