teaching machines

Cratewalk

Random walks have fascinated me the past few months. As someone who plans weeks and months ahead of time, I suppose I’m compensating a little. They let me take a walk on the wild side. Doo doo doo doo doo doo doo doo doo.

But pure wildness isn’t very interesting—at least not for long. It needs constraints. Last time, I constrained wildness to complete a circuit. This week, I wondered how I might constrain wildness to the faces of a box. I tried using turtle geometry initially, but precision issues led to some drift. This approach uses integers and absolute coordinates throughout:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *