Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 15 lines (12 sloc) 0.307 kb
"""
simple_noisefield.py - demonstrate Perlin noise
Jonathan Feinberg
"""
def setup():
size(100, 100)
def draw():
t = .0005 * millis()
for y in range(height):
for x in range(width):
blue = noise(t + .1*x, t + .05*y, .2*t)
set(x, y, color(0, 0, 255 * blue))
Jump to Line
Something went wrong with that request. Please try again.