But the image above was not painted by me, it's generated from some short equations. This and a lot of interesting images can be found in this amazing post about Tweetable Mathematical Art. I translated some of the equations to JavaScript and put a simple page where you can run the demos and try your own:
I needed to make smaller the canvas to work in the browser, and some equations required some tweaks when translated from C, due to that the equations are not exactly the same from the original post. For the fun, I also ported an animated version of the "Table cloths" demo to GLSL. You'll need a decent browser to see it, it needs WebGL. The source code is on my github account.
No comments:
Post a Comment