Monday, May 25, 2009

02B - Diana Pérez - Math Function


#define initial variables
numPoints = 600
amplitude = 10

#loop and gather point information
for i in range (0, numPoints, 1):
#funtion for the curve
x = sin(i)*i
y = (cos(i)*sin(i))*i
z = i*amplitude/10
myPoint = (x, y, z)
cmds.spaceLocator (p = myPoint)(your code here)


No comments:

Post a Comment