This is a live map of “good morning” and “good night” tweets made with the Twitter API + CesiumJS. Anyone who tweets “good morning” or “good night”, in any language, shows up on this map.
I was inspired to try this after seeing Katherine Yang’s project: https://twitter.com/bookwormgirl910/status/1312820041268690945. Credit to the original idea & implementation to her. I just made a 3D Cesium version of it.
It was a lot of fun trying to polish this up to get a nice look and feel.
- Click on any point to see the full tweet text and a link to the tweet
- Each point on the globe is tagged with a time so you can scrub the timeline and see how the red/blue tweets around the world happened over time
- This uses the new day/night imagery blending in CesiumJS 1.66, see example here: https://sandcastle.cesium.com/index.html?src=Earth%20at%20Night.html
- The camera moves to each new tweet, while keeping its distance from the Earth, so you can zoom in/out to adjust the view and it’ll stay there as it gently rotates around as tweets come in
- Click G to toggle “ICRF” mode. This will lock the camera in place so you can see the globe itself rotating over time. Fun for timelapses.
You can find the source on Glitch: https://glitch.com/edit/#!/wakingandsleeping-globe?path=README.md%3A5%3A90