Hacker Newsnew | past | comments | ask | show | jobs | submit | secretbatcave's commentslogin

Sadly its only interpolating the motion between frames, so you don't get back any new information.

Also optical flow really doesn't handle occlusions very well, so if one thing obscures another you'll get lots of artifacts.


Where are the HTML5 web adverts? They don't exsist because: 1)you have to code things 4 times (once for all the browsers + fallback) 2) There are no artist friendly tools (google's flash translator only works for chrome, see above) 3) Everything looks different in each browser 4) JS animation is Sllllloooooowww 5) Animation primitives are missing, those that exsist are from the 1960s 6) there are no mature standard/implementations (in widescale use)

with flash's workflow you: 1) create a flash file with the mature tools, test, release 2) create an animated gif as fallback

yes its buggy, and the video is slower than decent native support, but it works the same across all browsers (90%)


Considering that animated advertisements are the scourge of the Internet, if it weren't for the legitimate uses of the things you mention, I'd consider the crippledness a feature.

Advertisements should be text or images. Even animated GIFs are pushing it.


Talked about != implementation

3D graphics directly in the browser has been talked about for well over 15 years, http://en.wikipedia.org/wiki/VRML for example Java for another.


Try and animate a walk cycle in pure javascript.

now tell me that flash is dead.



Weird.

1) The url would suggest this is done using the canvas element. On my browser, though, it's implemented using SVG. Is anyone else seeing this?

2) SVG is a really terrible medium for this use case. What should be used instead, and would probably give better performance, is... canvas.


Yep, is on SVG on my browser too (Chrome).

And i think they made a zombie as an excuse for their bad implementation of a walking cicle.


That was convincingly pixar level walk cycle

On a 2010 macbook that runs at 15fps, which is a great step forward in speed for moving 8 sprites. Have you actually tried to animate anything other than a solid body, in just code?

http://www.idleworm.com/how/anm/02w/walk1.shtml is a walk cycle, and as you can see they are animating the control points, so the body smoothly deforms. As far as I'm aware you can control individual control points of an SVG with javascript. Even if you could without a decent interface you couldn't do more than move a ball about.

HTML/JS is shit at animation.

Flash is rubbish, and can be much more efficient, however HTML/JS is 10 times worse.


I don't know what's wrong with your computer but my 2010 MacBook Pro running Chrome hits a steady 52 fps.


45 fps on Chrome, ~15 on Firefox (MBP 2009).


but that's the point, its 8 sprites!


That renders like shit on my Droid X.


Ha, +1 point for snarkiness, -10 points for thinking that walk cycle experiment is a comparable example to even average Flash animation work, +9 points hoping for the love of the internet that you were just trying to make a laugh = net worth of nothing.


http://dev.sencha.com/animator/demos/kickfu/

Sencha is aiming their animator product at replacing flash animations with html5. They have a long way to go, but it's not an impossible thing.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: