algorithmic modeling for Rhino
here we are with this beautifull math curve.
I m trying to find a kind of vertex of each wing
I mean the far point in each wing
in other words the local maximum of the radious for each wing.
I use those equations
t = 2 * Math.PI * v * x;// ( t = angle )
pt.X = Math.Cos(t) * System.Math.Pow(System.Math.Exp(Math.Cos(t)) - 2 * Math.Cos(4 * t) - Math.Sin(t / 12),5);
pt.Y = Math.Sin(t) * System.Math.Pow(System.Math.Exp(Math.Cos(t)) - 2 * Math.Cos(4 * t) - Math.Sin(t / 12), 5);
pt.Z = 0;
and the way I follow is to find the radious function
_radio =
System.Math.Pow(
(radioX * radioX) + (Math.Cos(_t) * Math.Cos(_t)) +
(radioY * radioY) + (Math.Sin(_t) * Math.Sin(_t))
, 0.5);
and using a numeric derivative try to find the "0" values for all the valuees of _t
I obtain a list of lists of radious and I don`t know why ( angles provided are in a single list)
and testing my solution the extreme values are allways points very close to (0,0)
any ideas about whats wrong ?
Tags:
Welcome to
Grasshopper
Added by morteza khorsand 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by