Grasshopper

algorithmic modeling for Rhino

Arranging points in a circular format

Hey guys,

I was trying to understand this :

A simple example is the mathematical function of a circle that is X=Sin(t) and Y=Cos(t) while (t) is a range of numbers from 0 to 2Pi. I produce it by a <range> of numbers which starts from 0 to 1 with N numbers in between, times 2Pi by <function> component. This would result a range of numbers from 0 to 2pi that makes a complete circle in radian.

Two questions:

1) When I tried the same thing by my own it didn't occur to me to do the step in which we multiply t with 2PI. Why is this necessary? I was able to get a circle still without doing this.

2) Is it the same thing  if I multiply t with 360.

Thanks a lot.

Views: 61

Replies to This Discussion

Please, please...  ALWAYS post your code!  Why would anyone bother to take the time to create even a simple script like this from a screen shot?  Especially when the answer, in this case, is pretty simple to find on your own.  It's basic trigonometry, nothing to do with Grasshopper.

hi joseph,

Point noted, will remember to do this in future. In this case i knew its not related to grasshopper but was still hoping if someone could guide me through it. because I thought if we are using sin and cos components it will automatically arrange the points in  a circle.

Thanks.

• View All