Jump to content
Developer Wiki and Function Reference Links ×

Creating a rectangular spiral


Hippocode

Recommended Posts

Has anyone succeeded in creating a rectangular constant spiral within a path based object ?

The best I could think of was duplicating the path inside using a static distance untill it fails, using the vectors of each duplicate as new possible coordinates.

This works for most "simple" 2D objects as long as the order of each vector is the same between the duplicates and the path. When using other disformed positions these change sometimes and the code obviously fails :(.

Maybe someone has a better approach ? I'd like to use a controlpoint as a start position.

Image attached.

Edited by hippothamus
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...