Julia Sets with HTML Canvas
I’ve been reminding myself about Julia Sets recently, so I thought I’d build on using HTML Canvas. There are a bunch of Java applets out there but I’ve not seen one in canvas. Seems to work quickly and can be saved as an image; if you want you can change the canvas size or the c value in the function.
Anyway…
See the Pen vGzzpq by chrismichaelscott (@chrismichaelscott) on CodePen.
For accuracy: this is the Julia Set of the function f(zn+1) = zn2 + c, where c is -0.515 + 0.529i.
Comments RSS Feed
Leave a Reply