Nature of Code: Random Walker 001

annechpostma profile image Anne CH Postma Updated on ・1 min read

This is the first example code I wrote, while taking the Nature of Code lectures by Daniel Shiffman. It is a simple random algorithm, which is moving an object randomly in a range of [-3, 3] pixels on the x- and y-axis during every update cycle.


markdown guide