* 4 variables
1. 1st attractor point for a radius of polygon
2. 2nd attractor point for a rotation angle
3. a divider to reduce the distance between grid points and attractors
4. a slider bar for the decision of polygon shape
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgn9L5uDfdsCRp0Wej40vwAr12F1GoNwGJ70xrHqdG-o0y43h0IuBfCm0SeWo17UDojtc_yI8ZbwcrPGLF5OIVV8wbqKu6X2T3fnZMyeKqKzv0WBRq6516t1IjlHOvtriNT29f_DzuxQ/s200/grasshopper_pattern.bmp)
started with a rectangular grid, which is defined by 4 slider bars, in the domain of (20, 20) only in integers with the step size of 1. then set up the distance between one point and each grid point for the radius of each polygon, which works as the 1st attractor point. the distance is too long, so set up a divider to fit each polygon in the grid system. here, the polygon is set as a rectangle, which is defined by the slider bar to decide the shape of it.
next step is rotating each rectangle. the angle of rotation is also set up similarly to the way how the radius of each rectangle is done. the 2nd attractor point is used here to measure the distance between the point and each grid point so that it can define the angle.
_variations
1. attractor point setup
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXpBTT4sTQFQt5Eby4bnIaFh_NYLN0BBhwMljZCHaYzcWt47vM6PDWkxSBpbBHjkGiYw7e2o143PWiWdkR_wc4kXxonaBVTo03J_sq4iqZEBjMPaqNW8zg2CDnZUqZ5rcMhyWMELZv3g/s200/2.jpg)
2. polygon setup
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUKilRYJLtqqsRSYwraZqJAXHkzVZ-Q995CoSWwPgFvyUu3ePbdgg6BrRFDoFSbHp3s-ElPaUjfEeVE02seAMkxasqMo0dRdN8YB-wkSFCCe69TnD2v676ZxN-E60ZgJ0D7kh52QDMDw/s200/6.jpg)
3. divider setup
No comments:
Post a Comment