HydroLogix is an interactive hydration benchmarking app focused on hot, dry Southwest conditions.
- Recommends Estimated Ideal Intake and Estimated Dehydration Rates for current conditions
- Calculates baseline hydration from weight and age
- Applies environmental multipliers for:
- temperature
- humidity
- dew point
- altitude
- activity level
- Recommends hourly ideal intake rates and estimated dehydration rates from physiology + environment
- Uses typed
hours outside(fill-in number field);0uses room temperature and higher values increase exposure demand - Triggers a High Demand state when heat index crosses threshold
- Renders comparison cards, normalized bars, and actionable insights
- Uses baseline component water-loss rates of 0.5 oz/h breathing, 1.2 oz/h evaporation/sweat, and 1.0 oz/h waste
- Auto-fills environmental factors from location input in-browser (city, city+state, or US ZIP via Open-Meteo geocoding + weather APIs)
- Supports a US/SI unit toggle for unit-based entries (weight, temperature, dew point, and altitude)
calculateEvaporativeDemand(...)isolates environmental burden logiccalculateHydrationBenchmark(...)computes top-level benchmark demandrender()orchestrates card/chart/insight updates
Use hydration intake records shaped like:
timestamp(ISO-8601 string)volume_ml(number)fluid_type_coefficient(number)
- Open
index.htmldirectly in your browser (or host as static files only). - Enter a location (for example,
Phoenix,Phoenix, AZ, or85004) and click Auto-fill Weather. - Environmental factors are fetched client-side and applied to the hydration model.
- Install dependencies:
npm install - Start server:
npm start - Open:
http://localhost:3000
npm test
This tool provides scenario guidance and is not medical advice.