Keep footer snowdrifts as a visual easter egg

This commit is contained in:
nyan404 committed 2026-11-24 17:08:00 +03:00
1 parent 657ce50ec1
commit 5d476eb92d
6 files changed
+2 -14

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
- Supersedes the October leaf fallback: clear weather, API failure and initial/no-JS markup are empty; ULLI still selects rain/snow/mixed and wind dynamics.
- Owner explicitly selected **total snow depth for the latest dated day** from the fixed Climate Energy Saint Petersburg page, after clarification that “Свежевыпавший” is a density selector, not a daily snowfall measurement.
- `snow_cover.py` and `/api/weather/snow-cover` are independent of METAR: 30-minute valid cache / 5-minute failure cache, 4s timeout, 3 MiB cap; named table/cell IDs and literal date assignments, no upstream JS execution. Explicit 0 is available; unknown/stale (>2 Moscow calendar days) is unavailable. Live read on 2026-11-24 was 0 cm for that date.
- Calculator/admin footer namyoty are procedural SVGs: 2–3 asymmetric wind-sculpted banks with randomized crests, slopes and lee shadows per page load. Preserve geometry between feed refreshes; only positive measured depth sets bounded visual height (max 144px). No snow when zero/unknown. Dated source link remains visible for an available zero.
- Calculator/admin footer snowdrifts are a visual easter egg without a caption or source link. The SVG generates 2–3 asymmetric wind-sculpted banks with randomized crests, slopes and lee shadows per page load. Preserve geometry between feed refreshes. Only positive measured depth sets bounded visual height (max 144px). Zero or unavailable depth hides the drifts.
- Local source/HTTP/syntax checks and Chromium visual previews at 1280/390 px were performed; visible snowdrifts used a synthetic 16cm fixture. Project test suites were not run or expanded. No runtime dependencies, push or deployment.
- 2026-11-22: `/trainer` now limits jumps to the eight cells adjoining the character, even along the safe starting strip. Each field chooses one exit from `x10 y2–y6` or `y6 x6–x10`; this replaces the unrestricted exit pool described below. The entrance remains `x1 y1`.