Green flag to start, press P to turn the pen on, Q to turn it off, space to clear
Built this to imitate particles bouncing off each other, can imitate solids, liquids, and gases.