Description
This computational design algorithm is based on parametric equation of a circle:
x = h + r cosθ
y = k + r sinθ
where h and k are the center point coordinates, r is the radius and θ is the angle between 0 and 360.
In dynamo by defining the x and y at different angle positions and keeping the radius constant you get the points around the circle.
Of course interesting shapes can derrive when you alter some parameters. For instance let’s make the radius variable:
And now let’s create some height and see the result:
A heart can be obtained if we play with the radius values back and forth:
An ellipse is simillar to the circle but you have to consider 2 radii instead of one.
x = h + r1 cosθ
y = k + r2 sinθ