Align objects to curve with canvas
Posted
by mitjak
on Stack Overflow
See other posts from Stack Overflow
or by mitjak
Published on 2010-05-03T23:33:00Z
Indexed on
2010/05/03
23:38 UTC
Read the original article
Hit count: 213
JavaScript
|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.
© Stack Overflow or respective owner