Grasshopper

algorithmic modeling for Rhino

Hi,

 

Is there a way around to make pixels (random boxes) like that ?

http://www.betonhala.com/2011/proposals/p119/

 

 

Views: 2285

Replies to This Discussion

Yes, it is possible and quite easy. Here is a brief outline:

1. Create a field of points (n)

2. Create n random numbers between 0-1

3. Set up a greater than or less than test and compare the random numbers to a slider value (between 0-1). This will produce n true/false values.

4. Cull the n points with this list of booleans (true/false values are often called booleans)

5. Create a box at the remaining points

 

Try this first and then you can get tricker by making the random less random and relating it instead to attractors (maybe with some random noise).

Good luck.

Thanks Andrew 
 It really worked !

maybe this is also helpful for you.

http://livecomponents-ny.com/2011/04/24/1_4-gradient-pixelization/

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service