Turtle bots, Gestalt ideas, and emergent artwork
September fifth, 2025
—
Within the worlds of programming and robotics, turtles are entities — both digital or bodily robots— that observe instructions to maneuver round a 2D airplane. These are often quite simple instructions, corresponding to “transfer ahead 10 models” or “rotate 90 levels clockwise,” they usually assist folks be taught some programming fundamentals (like Brand within the ’80s!) in an intuitive manner. However plenty of complexity can evolve out of easy constructing blocks, as Niklas Roy proved together with his turtle bots that create surprisingly intriguing emergent artwork.
Roy’s turtle bots are very typical, with two wheels pushed by stepper motors paired with gearboxes and managed by Arduino Nano boards by way of ULN2803 driver ICs. Every turtle bot has a easy USB battery financial institution to provide energy and a servo-actuated mechanism to maneuver a marker up and down. As a bot drives round, it might probably decrease its marker to attract a line.
With some pre-programmed routines, it’s simple to make a person turtle bot draw a picture or sample on a whiteboard. However when the turtle bots work together with one another or present strains, issues get attention-grabbing.
Roy created variations of the bots that may have line-erasing wipers or line-detecting photodiodes. The turtles even have bumpers with microswitches to detect collisions. With that {hardware}, just a few easy programmed guidelines can lead to attention-grabbing art work when a number of bots work on the identical canvas.

Every bot can observe a easy routine, like drawing a spiral, however the further guidelines create variability. For instance, a rule like “carry the marker whenever you cross an present line” can produce depth, as Gestalt ideas come into play and we interpret some artwork as being within the foreground versus background.
The attainable variations and interactions are limitless, so the art work that’s generated is all the time distinctive.