tag:blogger.com,1999:blog-5162843472186238850.post8800453997028891105..comments2012-11-16T21:48:13.860+02:00Comments on Fixed Point Code: A thousand comments laterMircea Nistorhttp://www.blogger.com/profile/04002167380509579707noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-5162843472186238850.post-24133334546954852932012-11-16T21:48:13.860+02:002012-11-16T21:48:13.860+02:00Hi,
I am writing similar application for Android. ...Hi,<br />I am writing similar application for Android. I'am actually halfway through and I was shocked today to see your app on market - I looked for similar apps before, but somehow missed yours. Now I see that I'll have to do better than I initially planned to find lots of users. :)<br /><br />You did great job on optimization. I also started with Stam's implementation and I still haven't done many functional changes to it - I feel every time I remove something / decrease number of iterations, fluid looks much worse. I currently run my app in solid 35 frames with 128x64 fluid resolution, so when I saw yours with max. resolution of 300xsomething (I counted) running quite smooth on my tablet, I thought that you must be using multiple cores, but apparently you're not. :) I'm planning on using NEON for heavy inner loops and multiple cores and I'll probably need them both done well to reach the resolution your app is running at.<br /><br />Finally, congratulations on writing such a successful app.mihuhttps://www.blogger.com/profile/04739819757498405391noreply@blogger.comtag:blogger.com,1999:blog-5162843472186238850.post-92045074594223088302012-11-07T16:12:47.663+02:002012-11-07T16:12:47.663+02:00Actually, I've been experimenting with using i...Actually, I've been experimenting with using images as the fluid base and swirling them around. No transparency mask, I'm using the image data directly. To me it looks great but it still needs lots of work before a release.<br />No video swirling yet but I've also managed to use the live input from the camera as a source instead of a static photo. It's pretty weird :) like trying to use your phone inside a dream.<br /><br />This time, I'm on a Galaxy Nexus as my main device and it's a lot smoother than I initially expected. It also runs OK on a Galaxy S but that's the lowest I've tried.<br /><br />I'll try and post some previews soon.Anonymoushttps://www.blogger.com/profile/11271142011608514568noreply@blogger.comtag:blogger.com,1999:blog-5162843472186238850.post-37340548299114781572012-11-07T15:54:43.074+02:002012-11-07T15:54:43.074+02:00Just use a black and white swirl as a transparency...Just use a black and white swirl as a transparency mask on an image/video layer. It will look awesome and only add a single rendering step to your current blazing fast code!<br /><br />Maxed all my settings on my Galaxy Nexus and still 30+ fps. Let me know if you want some free coding collaboration on this, I'd love to contribute to it!Anonymoushttps://www.blogger.com/profile/05582020103538432701noreply@blogger.comtag:blogger.com,1999:blog-5162843472186238850.post-12945005183610708812012-03-15T01:10:20.872+02:002012-03-15T01:10:20.872+02:00Hi Matt. Thank you for this great feedback :)
When...Hi Matt. Thank you for this great feedback :)<br />When I first started to work on Fleya, there were a few apps that attempted fluid dynamics on android. I remember Plasmeriser and Plasma puddle, maybe one more but I forget the name. At the time, I had an HTC Magic (MyTouch3G) phone which ran these apps at a snails pace so I decided to try to do better, and I did. My point is that you shouldn't give up on "writing this app" just because I already wrote Fleya. You may even do a better job :)<br /><br />I started out by experimenting with Jos Stam's code on realtime fluid dynamics (really great work BTW) and tried to write as optimum as possible, always measuring the impact of each change I made to it. What I now have is a not very precise fluid solver but it's fast enough for a phone to handle.<br /><br />Swirling images or video...now that's a challenge :) Actually the absolute first version of Fleya that I ran on a phone used a photo for the simulation. It swirled around a 320x480 grid of true color pixels at the blinding speed of 0.3-0.5 frames per second :) The current engine should do a better job but would it be enough for realtime?...probably not. However, the current engine only uses one CPU core for the heavy lifting and no GPU, so there's room for improvement...the hardware on these newer phones is amazing so it's possible.<br /><br />If only I had the time...<br />Cheers!Mircea Nistorhttps://www.blogger.com/profile/04002167380509579707noreply@blogger.comtag:blogger.com,1999:blog-5162843472186238850.post-7400435143403596552012-03-14T08:53:32.016+02:002012-03-14T08:53:32.016+02:00Absolutely spectacular work. I'll admit I dre...Absolutely spectacular work. I'll admit I dreamed of writing this app, but i'm happy to enjoy yours. Gotta ask though - what method did you use to solve the Navier-Stokes? Finite difference? Finite element? Fourier series? On my Samsung galaxy s2 it runs so smoothly I was actually slightly shocked. If you want a suggestion: try swirling other things besides solid colors. Images! video!Matt Cushmanhttps://www.blogger.com/profile/18035826202579053327noreply@blogger.comtag:blogger.com,1999:blog-5162843472186238850.post-19200385300740459422011-11-29T09:33:21.086+02:002011-11-29T09:33:21.086+02:00I really liked your app, and I have no issue with ...I really liked your app, and I have no issue with you using ads in your app, you have to make money too! <br /><br />However, you should consider using another form of ad other than the push notification type. Those are extremely intrusive and appear even when I'm not using your app!<br /><br />One comparison is this: If I don't want to watch commercials on TV, I don't have to watch TV. Push notification ads are the equivalent of commercials that continue after the tv has been turned off.<br /><br />I don't see ads from godaddy.com after I leave their website. I don't see commercials when the TV is off. <br /><br />Ads that appear as notifications are only going to hurt your apps rating.<br /><br />After I found out that it was your app causing the notifications, I very unfortunately had to uninstall it. Were you to switch to in-app ads, or to a paid version, I would gladly reinstall!<br /><br />Thanks for your work!Anonymoushttps://www.blogger.com/profile/09912501550121806427noreply@blogger.comtag:blogger.com,1999:blog-5162843472186238850.post-11995884562161846032011-08-20T11:38:00.089+03:002011-08-20T11:38:00.089+03:00I love your app !
Any chance you post some code or...I love your app !<br />Any chance you post some code or tutorial on how you did that ? I'd like to do some fluid simulation in 3D and would welcome some examples...bestouffhttps://www.blogger.com/profile/12634848155386893270noreply@blogger.comtag:blogger.com,1999:blog-5162843472186238850.post-72096032462497931712011-06-02T16:27:11.592+03:002011-06-02T16:27:11.592+03:00I'm glad she likes it :)
She's so cute :DI'm glad she likes it :)<br />She's so cute :DMircea Nistorhttps://www.blogger.com/profile/04002167380509579707noreply@blogger.comtag:blogger.com,1999:blog-5162843472186238850.post-54708962221105560462011-06-02T16:17:59.831+03:002011-06-02T16:17:59.831+03:00Even my 5-month-old daughter has taken a shine to ...Even my 5-month-old daughter has taken a shine to Fleya - be it on my phone or tablet. Thought I'd share a vid: <a href="http://www.youtube.com/watch?v=eBF_RBOf9tQ" rel="nofollow">YouTube</a><br><br>Thanks for entertaining her!Brian Tristam Williamshttps://www.blogger.com/profile/06929799166733961092noreply@blogger.com