Hi, very new to grasshopper. I have designed an algorithm that is meant to create a 2D pattern/image; the final product is less important than the algorithm itself. I have generated a random list of 200 integers with a range of 0-100. I’m trying to create a script that will evaluate each integer and test for if it’s even or odd, and then move and/or scale a polygon based on these parameters, but I’m not sure how translate the data set I have into a true/false value that I can connect to some component that will then inform how the curve acts. I’m also doing different movements based on if each number in the set is greater than a certain value. I’m also trying to use the Hoopsnake plugin to do this and create a loop that runs 200 times. Any feedback or tips is appreciated; Grasshopper is a foreign language to me at this point.
Algorithms Project_help.gh (19.7 KB)