Python, Routing, Perlin Noise, Random Walk, Lecture.
setup(): size(640, 360) global mover mover = Mover() def draw(): background(255) mover.update() mover.checkEdges() mover.display() class Mover(object): def __init__(self): self.location = PVector(width / 2, height / 2) self.velocity = PVector(0, 0) self.topspeed = 6 def update(self):