Designboom explains how the contraption works:
The chaotic artwork is achieved through a single automated arm provisioned with a rotary encoder attached to the fulcrum of the pendulum. as the robot sways from side to side, the swinging motion of the arm is intensified through the physics of inertia, which then manifests itself erratic painstrokes through the quick release of paint from the spray can.