Random nodes are created and pushed to a given distance around a point.
Based on the algorithm they start to make connections with each other and exchange long connections with short ones.
Because of the delicate balance between push and pull forces they start spreading around the "invisible" sphere.
"z" to generate a new set.
"x" to toggle sphere.
"a" to increase connection size.
"s" to decrease connection size.
Camera:
Press "1" and then drag mouse to orbit.
Press "2" and then drag mouse to zoom.
Press "3" and then drag mouse to pan.
Source code: Camera.java Connector.java SpaceNode.java SphereFrameworkApplet.java
Built with Processing