LIF in p5.js
A first LIF bot simulation in p5.js. The world is 50×50 random light or greyscale background blocks. The bot has sensors at 60 degree intervals with a range of 180pixels, and the sensors measure light levels. The bot moves forward at constant speed, ...
mat-d.hashnode.dev1 min read