Jump to content

Discretize 2d shapes


AntoineSfx

Recommended Posts

Given a shape, how could you process it to make it a good starting point for copying those various elements at its points ?

At first it looked like something related to the Bresenham algorithm, but neighbor pieces have  to have one common edge.. The anti aliasing algorithm avoids such situation, so it won't work

I wonder what other mathematical problem this is related to.Could it be as simple as a snap (fuse), 

to a grid, then take care of the 45 degree edges ?

snap.thumb.png.ea348979c66e74ec4a4f2b8719f725bf.png

 

majokit.thumb.jpg.44c6d75a7c354b57f580354c64134b95.jpg

Link to comment
Share on other sites

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.   Paste as plain text instead

  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...