Show HN: Evolve 3D projections of an image, on hardware via webGL
github.com
github.com
To answer your question, rotating the view doesn't affect the calculations at all. Internally it renders (unrotated) into a smallish scratch buffer for comparisons; it's only when painting to the screen that it knows how to rotate the output.
As for creating new projections, it depends on whether you can read data from the gpu with gl.readPixels() or not. From googling docs I thought this would work anywhere OpenGLES 2.0 was supported, but my test device claims to support OpenGLES 3, and readPixels() fails on it - I haven't looked closely at why yet.
Incidentally, even after implementing this I'm still not sure if it's proper to call it a genetic algorithm. Any comments welcome.
Thanks for checking!