HTML5 Diffusion FX
Monkey Archive Forums/Monkey Projects/HTML5 Diffusion FX
| ||
HTML5 - Diffusion FX This is a diffusion effect done with Monkey an 'impixi's' canvas wrapper. It should hopefully hit the max 30 fps on your browser. Let me know how it works. :) It will cycle through five effects's. http://redeyeware.uphero.com/monkey/HTML5_diffusion_example/html5/HTML5_Diffusion_Example.html I'll post some code soon. -=> - EDIT - >Source code listed below.< Here is a new version of this demo with optimization's to math and display. Hit 'F1' to change the screen to 1/4 size or 1/4 x 4 (quad) and full size with four modes of quality (pixel dropout). Hit 'F2' to toggle/change the display to a wide (mid third) of full size. Hopefully this will run a bit faster. http://redeyeware.uphero.com/monkey/HTML5_diffusion_example_2/html5/HTML5_Diffusion_Example.html Thanks for testing. :p |
| ||
25 fps on Safari. Nice effects though. |
| ||
31 fps in chrome, nice effects |
| ||
Solid 31 FPS here. Good to see this stuff is workable! |
| ||
Solid 3 fps on my iPad2 but it works. :) |
| ||
I got 5 FPS on my Celeron PC from 2003, looks great |
| ||
31FPS in FF and Chrome. Really nice FX! |
| ||
21 FPS on Chrome on my Core Duo. |
| ||
31 FPS on IE9 on my VAIO Z1 |
| ||
Steady 29fps on Chrome on my work pc (not sure of specs). |
| ||
8 FPS on Chrome and on my Acer Aspire One D255 (but the Atom N550 is not the fastest thing around ;). Nice one |
| ||
1 FPS on my ASUS Transformer tablet. I doubt the browser is up to it though. 31 FPS on my laptop with Chrome. Nice! |
| ||
31 FPS with Chrome, but only 6 with IE 9. |
| ||
iPad2 (Safari): 3 fps iPad2 (iCabMobile): 1 fps iPod Touch (Safari): 4 seconds per frame... iPod Touch (iCabMobile): 4 seconds per frame... Xoom (Default Browser): 1 fps Xoom (Dolphin Browser HD): 1 fps Xoom (Firefox): 4 fps Desire HD (Default Browser): 5 seconds per frame... Desire HD (Dolphin Browser HD): 4 seconds per frame... PC (Firefox 8): 30 fps with occasional stuttering (might be other tabs lagging it) PC (Chrome 15): 30 fps PC (IE8): Nothing... XD Specs are in my sig. |
| ||
Looks like the tablet and mobile platforms' browsers do not yet feature hardware acceleration for the HTML5 canvas object. That or they just lack the power regardless. A shame. |
| ||
13in 2011 MacBook Pro on Firefox - 31 FPS iPad 2 - 1 FPS iPhone 4s - Staggering 1 FPS |
| ||
Looks like the tablet and mobile platforms' browsers do not yet feature hardware acceleration for the HTML5 canvas object. That or they just lack the power regardless. A shame. I expected better from iPad with all the anti-Flash touting.... a shame indeed. |
| ||
Samsung Galaxy Tab Android 7" 1Ghz (Default Browser): 1 fps (Dolphin Browser): 1 fps (Firefox): 3 fps |
| ||
Wow, Cool to see this tested on so many different devices.:) Here is a new version of this demo with optimization's to math and display. Hit 'F1' to change the screen to 1/4 size or 1/4 x 4 (quad) and full size with four modes of quality (pixel dropout). Hit 'F2' to toggle/change the display to a wide (mid third) of full size. Hopefully this will run a bit faster. http://redeyeware.uphero.com/monkey/HTML5_diffusion_example_2/html5/HTML5_Diffusion_Example.html Thanks for testing. :p |
| ||
4fps on iPad2 now. Yay! AdamRedwoods - I suspect Flash running the same app (without using Alchemy) on a similar specced Android device would yield similar results, ie. a low fps. This effect is quite demanding. |
| ||
^This effect is all 2D (pixel writes), so it looks as if tablets and mobile devices are out. It 'does run well' on a PC or Mac desktop/laptop but even then should have couple of cores and descent video. I am impressed by the speed at which I can write to a canvas using 'impixi's' mod. As soon as I see a clear path for webGL and Monkey I am pretty sure I could do this effect on a mobile device (phone/tablet) at a reasonable fps. |
| ||
Here is the source code for this project. Enjoy :p L8r, - Rich - |