Jump to content

create string portrait


Ian10210123

Recommended Posts

Hi guys, 

https://datagenetics.com/blog/december12019/index.html

I'm trying to recreate string portrait, but still in some problem I can't figure out.

Here's one of my though.

For detecting the best way to select the next point

1.create a circle with 200 points

2.split one of them and connect to others. Now I get 199 of line. For the first iteration. I start at pt0

3.resample all of them to 15 segments

4.attribute transfer from the grid with picture you want

1.thumb.png.d162cbebe68ddc542171e3d88e0a895c.png

 

5.get the minimum Cd from and blast it

6. get the point from the line

2.thumb.png.1e885fb935de3e05c61a5d7ff52f5d4c.png

and connect to the start point

3.thumb.png.96a014aba914f82809f0c275e9327d3a.png

 

Then trying to repeat those nodes, but it don't work well.

They easily to get stuck in one line repeatly. e.g. pt0 - pt 100 - pt 150 - pt 100 - pt 150... and dead end

4.thumb.png.208c656b3b8ad3d174be35fc9216afb6.png

 

So maybe try to record the line which used before is a good way. 

Which one should I use, solver or for loop with feedback?

Any tips will be helpful. Thanks

 

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