<script src="http://spelprogrammering.nu/simple.js"> function start() { a = 1; b = 1; m = 6; n1 = 1; n2 = 1; n3 = 6; vOffset = 0; } function update() { fill("black"); for (v = 0; v<2*pi; v+=0.1) { r = pow((abs(pow(cos(m*v/4+vOffset)/a,n2)) + abs(pow(sin(m*v/4+vOffset)/b,n3))),(-1/n1)); math.polarPoint(v, r, 3, "white"); } vOffset += 0.01; } </script>