Skip to content

Instantly share code, notes, and snippets.

@heiths
Created May 24, 2013 04:22
Show Gist options
  • Save heiths/5641268 to your computer and use it in GitHub Desktop.
Save heiths/5641268 to your computer and use it in GitHub Desktop.
spiral basic
from pymel.core import *
cvCount = 1000
cvPoints = []
for i in range(cvCount):
x = dt.sin(i) * i
y = dt.cos(i) * i
z = 0
cvPoints.append([x, y, z])
curve(ep=cvPoints)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment