cwisbg

Noise

May 11th, 2017
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. from pymel.core import *
  2. import math
  3. import random
  4. sl = selected()
  5. y = 0
  6. toCrv = []
  7. for i in range(0,1000):
  8.     y += math.sin(random.uniform(-1,1))*3
  9.     add = i,y,0
  10.     toCrv.append(add)
  11. curve(p=toCrv)
Advertisement
Add Comment
Please, Sign In to add comment