Grasshopper

algorithmic modeling for Rhino

Does anyone know how to create a random true false list that has more trues at the beging and more false at the end?

In other words a random true false list that gradates from true to false.

Views: 10413

Replies to This Discussion

try something like this:

Thanks Vicente my initial build was created by a point list which had to be adjusted depending on the TF boolean collection, this helps because it allows me to simply feed the list length and match the data collection

Remember to subtract 1 from the N input of the range component.
I see you also found this other thread:
http://www.grasshopper3d.com/forum/topics/random-select
where i posted a similar example.
Lets say you had a grid of line segments vs points and you wanted to cull based on a list of TF statements from left to right similar to your post above, what would be the best way to do this. Would it be smart to use the vector decompose (I dont see a line or curve decompose, similar to how you used point decompose and extract the x values) Would it be smart to rearrange the the data structure with the path mapper so the data cycles through vertically vs horizontally? I guess what I am asking is in your opinion what would be the best way to cull in both the vertical (Y) and horizontal (Z) direction with line segments?


Thanks for the help Vicente.

How can I create a true or false slider?

its called boolean toggle, its a component.

Oh! thanks!!!

Can someone post an screenshot with application of the boolean toggle? 

Vin x?

Anja, Vin X,

Thanks a lot!

I actually did just try the toggle with a different type of list input (a curve ).

I acknowledge I am not too familiar with Shift component. But I also tried with Dispatch and no result.

My intention is to be able to switch "Flip" on/off.

Thanks... 

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