ScratchData LogoScratchData
Back to nembence's profile

Earth viewer (detects your location)

NEnembence•Created June 29, 2024
Earth viewer (detects your location)
80
62
664 views
View on Scratch

Instructions

The project displays Earth (almost) centered at your location, based on your answer and your computer clock. Drag the Earth to rotate. Please don't advertise unrelated things in the comments.

Description

The project approximates your longitude based on your time zone. The time zone is detected using that the (days since 2000) block doesn't change with the time zone, but the (current [hour v]) does. Your latitude is approximated based on the name of the current season - that changes with the latitude, but the current month doesn't. Credits: All code by me (@nembence) Earth textures are downloaded from the NASA Visible Earth website: day: https://visibleearth.nasa.gov/images/57730/the-blue-marble-land-surface-ocean-color-and-sea-ice night: https://visibleearth.nasa.gov/images/144875/earth-at-night-black-marble-2012-color-maps-v2/144876l I resized the textures to 632x316 pixels because of the Scratch list limit.

Project Details

Project ID1043333694
CreatedJune 29, 2024
Last ModifiedMay 6, 2025
SharedJuly 10, 2024
Visibilityvisible
CommentsAllowed