Building a Walker in p5


#1

I’m having trouble writing a Walker in P5, mostly due to Classes/Objects. I’ve tried it 2 ways, but am not having any luck :frowning:

https://editor.p5js.org/pers0n/sketches/HyFphoMzV

https://editor.p5js.org/pers0n/sketches/SJFG6iGMN


#2

just to get the class up and running:
https://editor.p5js.org/kll/sketches/Hk0bvpzGN
following that convention that

class Big …
var small = new Big