wishlist: Spirograph LPE

Bug #1320524 reported by Jerry W. Segers, Jr.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Wishlist
Unassigned

Bug Description

The current spirograph plugin [1] only makes shapes based on two circles, and only creates line segments not curves. It is also not a live effect. I believe all these limitations are undesirable. To make a tool useful for making certificates, I would like a live path effect that takes two shapes and a point as input, and rolls the second shape around the first in a non-sliding manner, while preserving the relative position of the point to the rolling shape. It should then create a curve from the pen point. The plugin should not require closed shapes, and should include disguised scaling factors for the rolling shape such that you can approximately specify the number of revolutions per orbit, and exactly specify the number of orbits before the result closes.

I have tried to do this myself, the math is beyond me. You will need to understand a significant amount of calculus to pull this off because the formula to make the curve requires derivatives, and produces a result that is not in itself usable directly. For example, two lines and a point produce a series of second order curves, and a pair of second order curves produces a fourth order curve and so on additively, I don't know how to add points to remove orders from curves, but I have found a paper that describes the creation process of the curves from two shapes and a point. I will attach the paper.

If I can help (research is all I can think of but you may ask for anything and I'll try) just let me know.

[1] http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Extensions-Render.html#Extensions-Spirograph

Revision history for this message
Jerry W. Segers, Jr. (segers-j) wrote :
su_v (suv-lp)
tags: added: livepatheffects
removed: wishlist
Changed in inkscape:
importance: Undecided → Wishlist
description: updated
Revision history for this message
Jerry W. Segers, Jr. (segers-j) wrote :

here is the best explanation of how to demote the order of a bezier curve I have been able to find.

http://fontforge.org/bezier.html

Revision history for this message
Jerry W. Segers, Jr. (segers-j) wrote :

Update: The current spirograph extension does now create proper curves instead of line segment approximations, but it's still not really useful for certificate borders.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.