4 ms·
I took the liberty of rehosting the linked .pde as a Gist (reformatted too). https://gist.github.com/akx/b487d43b0acc815ce0a1#file-spiral-pde-L20-L41 https://g
by akx 12y ago
I took the liberty of rehosting the linked .pde as a Gist (reformatted too).
https://gist.github.com/akx/b487d43b0acc815ce0a1#file-spiral-pde-L20-L41 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/ http://akx.github.io/supersample/