Creating image

unhandled

(Luiscarlospp) #1

Hi everyone,

One question about grasshopper. Is it possible to do things like the image below in the link ? if yes, can you please point me out to any good tutorial that introduces some of the concepts that I need to know in order to do things like that?

thank you.
Luis


(David Rutten) #2

Do you mean create an actual bitmap with pixels, or create the geometry that looks like the picture you posted?


(Laurent Delrieu) #3

You have many examples on grasshoper3d, search for weaving



…
To do the same as your image is not simple indeed.


(Luiscarlospp) #4

Hi, create a similar geometry, not the bitmap. I find it super interesting that it is a one string that has a beginning and a end. I thought that with rhino and grasshopper something similar could be achieved but its far beyond my skills on grasshopper.

Do you any idea on how to do this?

thank you in advance,
best regards


(Luiscarlospp) #5

Hi,

I understand that its not simple. That is where the challenge is :slight_smile:
best regards


(David Rutten) #6

Disclaimer; I have no idea how to do this.


That said, there's two issues here (both complicated) that need solving. The first is the creation of the curve itself, the second is the alternating under/over pattern. Depending on the type of output you desire (image? geometry? closed 2D inking regions?) this second problem will require different types of solutions.

As for the shape itself (and let’s ignore the four disjoint scribbles at the corners) one would obviously have to start with the fact that it has rotational symmetry. It seems to consist of four concentric layers, each with the same number of repetitions around the circle. This at least means you only have to define a single element and then polar-array it.

Which leads us to the real problem; how to define this curve element? Barring neural nets, you cannot just tell the computer “make a looping curve like this image here”, you’re going to have to actually make all the decisions yourself. Ideally you can make them in the most efficient manner (which excludes manual modeling, and also the even more cumbersome Grasshopper approach of stringing together Arc and Line components). Some sort of notation is clearly called for which is both readable to humans and translatable into a collection of successive lines and arcs.

It seems to me this notation needs to work in polar coordinates, otherwise you’ll never get your elements to connect while rotating them. The standard approach to this would be to adopt a LineTo/ArcTo/CurveTo approach common in drawing apis. But how many different commands you want to implement and how you are going to actually convert a piece of text containing command into geometry* sounds like a month of your life.

* It’s going to take a lot of custom code this way, that much is for sure.


(Luiscarlospp) #7

Hi,

thank you for taking the time to go through your thoughts and share it with me. I was indeed curious about the possibility to do this in a programmed way but to be honest I wouldn’t know where to start. Just to mention that the author of this beautiful drawing is no other than Leonardo Da Vinci :slight_smile: I would love to see what he would come up with if he had Rhinoceros / Grasshopper ehehe

thank you again,
Best regards,
Luis