extragrey
08-01-2009, 09:52 PM
hello everyone,
trying to figure out how to create parametric shapes, and first seemingly simple spiral - completely failed me after lots of ineffectual experiments...
here is guideline, created in Rhino, which I try to follow
http://www.designalyze.com/2008/07/07/generating-a-spiral-in-rhinos-grasshopper-plugin/
Sure enough static version isn't so complicated:
for ($i=0;$i<20;$i++)
{
float $x=$i*sin(5*$i);
float $y=$i*cos(5*$i);
spaceLocator -p $x $y $i;
}
and that's it. but more adjustable version of spiral (for example, with possibility to change number of locators) unfortunately, isn't so unmistakable for me.
_____________________________________
please any ideas or thoughts in this direction.
trying to figure out how to create parametric shapes, and first seemingly simple spiral - completely failed me after lots of ineffectual experiments...
here is guideline, created in Rhino, which I try to follow
http://www.designalyze.com/2008/07/07/generating-a-spiral-in-rhinos-grasshopper-plugin/
Sure enough static version isn't so complicated:
for ($i=0;$i<20;$i++)
{
float $x=$i*sin(5*$i);
float $y=$i*cos(5*$i);
spaceLocator -p $x $y $i;
}
and that's it. but more adjustable version of spiral (for example, with possibility to change number of locators) unfortunately, isn't so unmistakable for me.
_____________________________________
please any ideas or thoughts in this direction.
