Well, you could probably rig something up to do that using GeoTools if you know Java. For each country you're going to want to figure out an appropriate projection, probably the easiest to automate would be an azimuthal projection (Stereographic, LAEA, Orthographic, ec) about the country's centroid. Wikipedia does this with Orthographic projections. Any other GIS library or scriptable GIS should work for this.