Pixel Robots

Created on 2023-07-08T15:40:06-05:00

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

Robot sprites are 7x11 pixels in size.

Symmetry is used to cut the amount which has to be generated in half and to keep more reasonable shapes in the output.

Each pixel is tagged to be always off, or for which body part it belongs to.

The bits in various 8-bit numbers are used to determine if a given body part pixel will be "turned on" for this robot. A pixel which is "turned on" represents the "interior" of the robot.

The numbers are randomized to create the different robots.

Once interior bits are determined and those pixels are "turned on," generate an outline of all enabled cells. This outline becomes the robot itself.