/spiral

Draws a spiral on HTML5 canvas with JavaScript 🌀

Primary LanguageHTML

Draws a spiral on the canvas using given arguments:

  • size = the final radius
  • ecartement: the smaller the value, the tighter the spiral

screenshot