Archimedean Spiral – “Plug a bit of maths in and ‘magic’ will happen!”
August 24, 2011 Leave a comment
Mind you this is being done with part-finished code so it may not even be a good way of achieving it but it did the trick and I thought I’d post it before the code morphs into something far beyond what’s necessary/needed for this.
Well, that’s it, play around with the two lines
var x = i*0.1 * Math.cos(i);
var y = i*0.1 * Math.sin(i);
and see what effects you can come up with, I’d be interested to see more…