Visualizing global networks with Java 3D

I have had this idea of visualizing global networks and connections with 3d globe for a long time but haven’t had time to try it out. Now that I’ve been exploring possibilities of Java 3D I was able to implement this feature quite easily.

The current API looks like this:

Globe globe = new Globe(this);
globe.addConnection("Finland", "Germany");
globe.addConnection("Finland", "Italy");
globe.addConnection("Finland", "Egypt");
globe.addConnection("Finland", "United States");
globe.addConnection("Finland", "Japan");
globe.addConnection("Finland", "China");
globe.addConnection("Finland", "South Africa");
spinGroup.addChild(globe.getGroup());

And here is the result.

Global network with Java 3D