algorithmic modeling for Rhino

Portrait knitting with different methods and looms

Views: 325


You need to be a member of Grasshopper to add comments!

Join Grasshopper

Comment by Laurent DELRIEU on June 12, 2017 at 7:02am
@Mateusz I use a script, see the link above. The challenge was not to draw the line it was to sum very fast all the pixels brightness.
2000 iterations(threads)* 200 tests (number of pins) * number of pixels per image.
I had to use bitlocks to go faster on image processing.
Comment by Mateusz Zwierzycki on June 12, 2017 at 6:24am

@Laurent Are you drawing those images with a script or using Squid ? I'm almost sure Squid would not take that much time to draw all of those lines...

Comment by Laurent DELRIEU on June 11, 2017 at 10:47am

In this link an image with 2000 lines.

I think 4000 lines needs 1000 pixel x 1000 pixel images. I tried to make my code multithreaded but didn't manage to make it work.

Comment by Laurent DELRIEU on June 11, 2017 at 5:32am

Yes it will be nice, image must be well choosen and also with the good contrast. Adusting transparency seems to help a bit with "small" image. Here a test with an image rescaled to 600 pixel. But it was very long (2-3 hours). 

I will redo the portrait from Danny Santos I use to see if it is better. Result in 1-2 hours ! 

Comment by David Rutten on June 11, 2017 at 5:09am

Would be nice to see an image with thousands of lines, except you'd have to draw them using transparency to avoid saturating the bitmap...

Comment by Laurent DELRIEU on June 11, 2017 at 2:20am

These images are generated in less than 5 minutes (2.3 and 4.6) with 400 or 800 lines, and a rescaled bitmap of 200 pixels. 





  • Add Photos
  • View All

© 2020   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service