I want to draw an irregular circle entirely with php (or another programming option) but without photoshop. The circle I’m trying to draw should be slightly irregular and I think the line thickness should vary slightly to give the impression of an authorized seal. I don’t mind suggestions for a graphics package, as long as it uses code (not image manipulation for artists). Any code has been written for this? How can I get to a similar effect?
I want to draw an irregular circle entirely with php (or another programming option)
Share
I would highly recommend raphael.js
Right on their home page they show you how to draw a circle, but you can draw paths as well with vector lines, which would allow you to create an irregular circle. Plus,it works on IE6+, as well as Firefox, Safari, Chrome.
Try using cos(x) for the x value and sin(y) for the y value in JavaScript with short paths and a random number for irregularity.