Lifestylecodex
A China day-night visualization built by Codex in one weekend: 3D terminator line, 24 solar terms, two-day comparison, all computed locally in the browser.
V2EX user bigbigeggs posted this weekend project on October 11, saying in his own words that "Codex got it done in one day over the weekend": a purely front-end China day-night map that turns the sun's daily journey across China into an interactive visualization. The open-source repo wenbochang888/china-daylight-atlas (MIT license) was created on October 3 and was still being pushed to on October 11, has earned 13 stars, and its repo topics clearly declare the stack as TypeScript + Vue 3 + MapLibre GL. All astronomical calculations are done locally in the browser, with no backend service involved. There are three core highlights. First, a switchable 2D/3D day-night terminator line: 2D mode shows a map of China with provincial borders, with the light-dark boundary sweeping across the territory over time; switch to the 3D globe mode and the terminator cutting across the whole planet is quite striking, especially the dawn-dusk line at 4 a.m. on the summer solstice. Second, a complete panel of the 24 solar terms: from Start of Spring to Major Cold, each listed with its exact date in 2026; select any term and it plays a full day's day-night cycle from midnight, and a "two-day comparison" lets you intuitively feel the seasonal change in day length. Third, click any province to see its local daylight information, drag the timeline at the bottom to view any moment, use the three shortcuts in the top-right — "Watch the dawn", "Winter vs. summer" and "See the present moment" — and the small inset of the South China Sea islands in the bottom-right is not missing either. The author didn't skimp on details either: the play button supports automatic demonstration of the day-night flow, there is a background music toggle and one-click sharing, and the sidebar links straight back to the GitHub repo. The live demo (deployed on the author's personal site) is accessible and runs smoothly — map rendering is fluid, and 2D/3D switching, solar-term playback and timeline dragging all work. Verdict: this is a classic "weekend vibe coding" work — a clever topic (astronomy + solar terms + maps, a triple stack of romance), a complete implementation, and UI polish clearly above the "one-day trip" level; an opening of 13 stars is well deserved for its level of completeness. Anyone looking for side-project inspiration can read its source code directly to learn MapLibre's day-night rendering approach; anyone who just wants to see something beautiful will get their money's worth by opening 3D mode and dragging the timeline.