So I've been messing around with http://processingjs.org/.
I want to draw a circle that has a bunch of lines protruding from it. Each of these lines should perpendicular to the tangent of the circle.
I don't necessarily need to know how to do this in processing.js, but I don't really remember my trigonometry, so more of an explanation of the math required to draw this line would be helpful, but if you know how to do it in processing.js, that would be cool too.
Thanks.