You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be fun to have a module to generate Spirograph images. The basic idea would be to generate a discrete set of points lying on a cycloid, epicycloid, or whatever, and then use them to create a cubic spline.
The text was updated successfully, but these errors were encountered:
(Imported. Original comment by [email protected] on July 17, 2012, 08:40:21 PM UTC)
For the case of circles or ellipses inside circles it should be straight forward to represent the resulting motion of the pen by building up transformations relative to the point of contact between the inner and outer shapes. As the shapes move, the new relative position depends on the distance along the surface. For non-circle shapes, specifically ones with sharp points, there is extra motion where the point of contact hits the cusp and the inner part can now move freely. Piecewise these should all be nice continuous motions that can be expressed with a single transformation, so I think we can come up with something that composes really nicely.
(Imported from http://code.google.com/p/diagrams/issues/detail?id=85. Original issue from [email protected] on July 17, 2012, 04:03:01 PM UTC)
It would be fun to have a module to generate Spirograph images. The basic idea would be to generate a discrete set of points lying on a cycloid, epicycloid, or whatever, and then use them to create a cubic spline.
The text was updated successfully, but these errors were encountered: