The Eratosthenes JS model displays the shadows cast by two gnomons (sticks) at different locations on Earth. For one gnomon, Sun is directly overhead (as would be the case if the gnomon was on the Tropic of Cancer at the summer solstice). The other gnomon is due north of the first gnomon. The sizes of the gnomons are greatly exaggerated for visibility. This simulation can be used to help illustrate how Eratosthenes was able to measure the diameter of Earth using the shadows cast by two gnomons, one situated due north of the other, on a day when the southerly gnomon cast no shadow at all. The distance between the two gnomons (along Earth's surface) can be adjusted. The length of the shadow is given, and this length can be used to determine the angle between the gnomon lines and from that the circumference (and diameter, radius, etc) of Earth. Earth can be hidden to give a better view of the relevant geometry.
The Eratosthenes 2D JS Model was developed using the Easy Java Simulations (EJS) version 5. It is distributed as a ready-to-run html page and requires only a browser with JavaScript support.
Eratosthenes Simulation EPUB
An EPUB file containing the Eratosthenes simulation, a general description, and the features of the simulation. download 117kb .epub
Published: June 27, 2014
Eratosthenes JS Model Source Code
This file contains the EjsS source code for the Eratosthenes JS Model. download 39kb .zip
Published: April 8, 2014
previous versions
T. Timberlake and M. Belloni, Computer Program ERATOSTHENES JS MODEL, Version 1.0 (2014), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13203&DocID=3748).
T. Timberlake and M. Belloni, Computer Program ERATOSTHENES JS MODEL, Version 1.0 (2014), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13203&DocID=3748>.
Timberlake, T., & Belloni, M. (2014). Eratosthenes JS Model (Version 1.0) [Computer software]. Retrieved February 9, 2025, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13203&DocID=3748
Timberlake, Todd, and Mario Belloni. "Eratosthenes JS Model." Version 1.0. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13203&DocID=3748 (accessed 9 February 2025).
%0 Computer Program %A Timberlake, Todd %A Belloni, Mario %D March 8, 2014 %T Eratosthenes JS Model %7 1.0 %8 March 8, 2014 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13203&DocID=3748
Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.