How tonymcsauce/dry-season works
Dry Season is an offline-capable web app for logging drinks and estimating when alcohol will clear. The main flow is drink and round entry, round/session management, BAC simulation, then status and visual feedback. The README also documents late logging, stash and catch-up, history, help/settings, and animated visualizations. Source excerpts establish the model and selected rendering relationships; UI wiring for other capabilities is documented but not sampled, so those edges cite the README.
Main entry points: index.html Main app · night.js Night and rounds · sw.js Offline app cache · model.js BAC estimate
Components 15
Drink Logging
- Drink catalog
drinks.js - Round time dial
dial.js
Night And Model
- Night and rounds
night.js - BAC estimate
model.js - Night history
night.js
Status And Visuals
- BAC horizon
horizon.js - 3D hero scene
scene3d.js - Live island
island.js - Island mug
mug.js
App Experience
- Main app
index.html - Help and settings
index.html
Offline Support
- Offline app cache
sw.js - App version
version.js
Other components
- App user
- Web browser
Connections 16
- App user → Main app: opens and logs
README.md - Main app → Drink catalog: offers drinks
README.md - Main app → Round time dial: sets round times
README.md - Main app → Night and rounds: records rounds
README.md - Night and rounds → BAC estimate: simulates rounds
night.js - Main app → BAC estimate: shows estimate
- Main app → BAC horizon: renders BAC hills
README.md - BAC horizon → BAC estimate: reads BAC values
horizon.js - Main app → 3D hero scene: renders 3D hero
README.md - Main app → Live island: shows live island
README.md - Live island → Island mug: draws mug
island.js - Main app → Help and settings: opens help and settings
README.md - Night and rounds → Night history: archives nights
night.js - Web browser → Offline app cache: loads cached app
sw.js - Offline app cache → App version: names cache
sw.js - Main app → Offline app cache: works offline
README.md