Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The animations aren't as nice-n-smooth as the David Whyte ones which inspire this. Is it just framerate (easy to fix) or is there something deeper causing this?


I took the liberty of rehosting the linked .pde as a Gist (reformatted too).

https://gist.github.com/akx/b487d43b0acc815ce0a1#file-spiral...

It's not just the frame rate; David Whyte is doing 4x temporal supersampling too, so for each output frame, 4 frames are rendered, accumulated into an integer buffer (lines 20..29) and the output is their average (lines 31..35).

In addition, interestingly the color mapping is done afterwards (lines 38..41), based only on the red value of the original image. (One could do HDR and other tone mapping here, too.)

EDIT: Wrote a little Javascript animation test that has options for temporal supersampling. http://akx.github.io/supersample/


He's using 15 frames per seconds in most animations.




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

Search: