Grasshopper

algorithmic modeling for Rhino

We are a group of students, recently falled into grasshopper.
Here is the question: 
We have got a delimitated space (room) in wich we have to generate a volume with the spider webs rules.
We already found a 2 dimensional function the generate any tipe of webs that determines line end-points:

  FOR I=0 TO 360 
      T=I*P/180.0
      X = R*COS(T)
      Y = R*SIN(T)
      X2 = R*COS(A*T)
      Y2 = R*SIN(B*T)
   NEXT 

variables A and B which allow you to
create array of spider forms

We dont know if is gonna work in our space and it lacks the Z cordinates.
To anyone has suggestions,
Thanks


links to the sources websites:

Views: 247

Replies to This Discussion

am I wrong or spider web is 2 dimensional ? (that means it doesnt have volume)
I'm far far from a scripting expert but my first assumption is that you would use a recursive function that:

-creates a line with location (x) and length (y)
-then rotate the line (v) an specified incremental amont

then calling itself again...

http://www.grasshopper3d.com/forum/topics/recursion-error-in-rhinoc...
-Have a look at davids definition and comments
( 20101030_Elliptical_Rotation.ghx)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service