Sunday, May 24, 2009

02A - Deborah Kaiser - from point to curves

Daniel, i took the function from the previous exercise but i can not get it to turn the points into a curve. What am i doing wrong?

Thnx!


def curves (amplitude):
numPoints = 200
amplitude = 1
points = []


for i in range (0,numPoints,1) : # (start, end, increment)ve
x = i + 3*i
y = cos (i)*amplitude*10
z = i*x*.001 + y*0.0001 +1
myPoint = [x,y,z]
points.append (myPoint)


myCurve = cmds.curve (d =3, p= points)
return myCurve

No comments:

Post a Comment