A typical implementation of Langton's Ant (search on Wikipedia for more informations); the program stops once the ant touches the window's border.
It draws functions' graphs, and their derivatives' ones too.
Physical simulation of gravitational/physical interactions between several bodies; insert desired settings in the respective spaces and start the simulation by clicking on the button corresponding to the intended interactions:
"Start gravitational simulation": gravitational interactions (bodies are attracted to each other); bodies are randomly colored;
"Start antigravitational simulation": antigravitational interactions (bodies are repelled by each other); bodies are randomly colored;
"Start electric simulation (hetero version)": electric interactions (equal charges repel each other, while opposing ones attract each other); bodies are randomly charged and colored according to their charge;
"Start electric simulation (homo version)": inverted electric interactions (equal charges attract each other, while opposing ones repel each other); bodies are randomly charged and colored according to their charge.
Warning: the visualization of bodies' positions along the z axis ("height") is currently not reliable (a body covered by another is not necessarily behind it).