text: Q:
  
  Align objects to curve with canvas
  
  Is it possible? I'm learning canvas at the moment, and while it's fun to position objects programmatically, it would be most interesting to come up with a way to align them to a curve.
  E.g. align a series of squares back to back along a wavy line or a circle.
  
  A:
  
  It's possible but there's no built-in API to do it, afaik.
  Which means you'd need to either use a third-party library (not sure of one that could do this, but there are plenty of libraries e.g. Raphael, Processing.js, etc. you could check out), or build your own functions, which would be a bit math-intensive.
  
  