The software

Perseus can calculate and simulate Lunar and Solar eclipses, and also their visibility map.