Simulating the eclipse