Saturday, July 11, 2009
02A - Anthony Adelmann
import maya.cmds as cmds
from math import*
from random import*
numRow = 20
numColumns = 13
numHeights = 12
points = []
for i in range(0, numRow, 1):
x = (i)
for j in range (0, numColumns, 1):
y = j
for k in range (-1, numHeights, 1):
z = sin (k*i*j)
myPoint = (x,y,z)
points.append(myPoint)
cmds.curve(d=3, p=points)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment