Home▸Articles▸Physics & Mechanics

Interactive Earth: 2D Day/Night Map

Explore the dynamic interplay of Earth's rotation and orbit around the Sun with this interactive simulation.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What is a Day/Night Map?

A day/night map illustrates the division of Earth into illuminated and dark regions based on its position relative to the Sun. The terminator, or line separating day from night, moves across the globe as Earth rotates on its axis and orbits around the Sun.

This interactive simulation allows you to visualize these changes over a 24-hour period by adjusting parameters such as the day of the year, axial tilt, and time speed.

Key Concepts: Solar Declination and Axial Tilt

Solar declination refers to the angle between Earth’s equatorial plane and a line connecting the center of the Sun to the center of Earth. This angle changes throughout the year, causing seasonal variations in day length and temperature.

Axial tilt is the angle at which Earth's rotational axis is tilted relative to its orbital plane around the Sun. It significantly influences the distribution of sunlight across different latitudes, leading to phenomena like seasons.

live demo · related simulation● LIVE

How Does the Simulation Work?

The simulation models Earth’s rotation and orbit using mathematical equations that account for the changing solar declination over a year. By adjusting the day of the year slider, you can observe how this changes the position of the terminator line.

Time speed controls allow you to accelerate or decelerate the passage of time, observing the rapid movement of the terminator as Earth rotates.

Why Does This Matter?

Understanding day/night cycles is crucial for various fields such as meteorology, astronomy, and navigation. It helps in predicting weather patterns, planning space missions, and even in understanding biological rhythms.

The simulation provides a visual aid to comprehend complex astronomical concepts, making it an invaluable tool for education and research.

Frequently asked questions

How does the axial tilt affect day length?

Axial tilt causes different parts of Earth to receive varying amounts of sunlight throughout the year. This results in longer days at higher latitudes during summer and shorter days during winter, when that hemisphere is tilted away from the Sun.

What happens if Earth had no axial tilt?

If Earth had no axial tilt, there would be no seasons, and day length would remain constant throughout the year. The terminator line would move uniformly across the globe as Earth orbits the Sun, leading to a more uniform distribution of daylight.

How does the simulation model Earth’s rotation?

The simulation models Earth's rotation using a combination of trigonometric functions and physical laws that describe rotational motion. It updates the position of the terminator line based on these calculations, showing how it changes with time.

Can this simulation be used for educational purposes?

Absolutely! This interactive tool is an excellent resource for teaching concepts related to Earth’s rotation and orbit, making abstract astronomical phenomena more tangible and understandable through visual representation.

Try it live

Everything above runs in your browser — open Interactive Earth: 2D Day/Night Map and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Interactive Earth: 2D Day/Night Map simulation

What did you find?

Add reproduction steps (optional)