Friday, July 10, 2009

02A - Valentina de Leon


import maya.cmds as cmds

#CURVES THROUGH POINTS

from math import*

numRows = 15
numColumns = 30
num3rdDimension = 50
points=[]
for i in range(0,numRows,1):
x = (i)
for j in range(-15,numColumns,30):
y = j
for k in range(5,num3rdDimension,30):
z = sin(k*i*j)*5

# ONDULATING GRID
myPoint=(x,y,z)
points.append(myPoint)
cmds.curve(d=30, p=points)

No comments:

Post a Comment