Grasshopper

algorithmic modeling for Rhino

Hello,

I'm trying to recreate a gradient dotted pattern that was made manually(!?) to grasshopper and at first this pattern seems simpler than the usual dotted patterns we see around in the tutorials because it's a two size dot pattern - ie. the smaller dots correspond to the lighter colour and the darker dots correspond to the darker colour.

The starting point was a script I have put together a while ago but this gives me the gradient image in a multitude of dotted dimensions and not the 2 dimensions I'm aiming for...

I have attached an image of the aimed pattern (with blue dots) and a snapshot of the image I'm getting in rhino together with the definition I've been working on. 

If anyone could hint on the step I'm missing to make it into a 2 dot pattern and being able to control the dots dimensions that would be much appreciated!

Thanks

 

Views: 2363

Attachments:

Replies to This Discussion

Hello Ricardo,

This pattern is not based on your original image, but it is very similar to the capture you provided.

I hope it helps !

Attachments:

Hi FRiou,

Impressive stuff! Many thanks for sharing this. I'm trying to understand the logic behind the gradient without the use of an image and the 2 item (dot) parameter, will take a while for me to get there but this will definitely help!

Many thanks again!

Basically, the idea is that the first horizontal line is 100% big squares, then you replace one square with a small one on the first line, two squares on the second line, etc... until the last line that is 100% small squares. (This is for 100 lines, but it also works for more or less lines).

Most of the programming here is about the position of the small squares on the line that has to be random to have a nice irregular pattern.

Using Random, Jitter and True/False booleans you decide which point on the grid is a small square and which one is a big one, then with Pick and Choose, you select the right curve and then place it on the grid points with Orient.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service