Goal
The Sunlight Right web application is intended to bring health awareness to everyone by promoting the use of vitamin D via sunlight exposure or supplementation.
Features
- Tells user how much sunlight they need in order to get a determined amount of vitamin D (International Units)
- Using Open Meteo API https://open-meteo.com/en/docs
- Factors: skin surface area exposure, skin tone (Fitzpatrick Scale), weather (direct solar radiation watts/per square meter)
- Research questions to find answers to:
Finished Tasks
- implement open-meteo to get solar radiation for the day
- implement local storage is save on API uses per session/user
- get user's location coords and timezone
- line chart to view hours and uv index for the day
- pie chart to see the greatest and least amount of vitamin D produced for each hour where production is > 0
- implement google maps with coords https://developers.google.com/maps/documentation/embed/quickstart
- Set current Vit D goal variable & determine most optimal hours w/ less time spent under sunshine
- Change page header to represent Sunlight Right Project
- Added Sunshine Duration with UV index
- Include research and methods
- Explain how rate of vitamin D (IU/min) was gathered and refer to article
- Explain how skin tone, age, bsa, unilateral exposure, and exposure affect these rates
- Explain other factors that were not accounted for such as BMI
- Depict RDA of vitamin D and question adequacy and risks of too much solar radiation
- Implement Google Analytics
- Add Reset button/text at very bottom of page
- Add section to turn on location if location is off.
Current Tasks
- Add empirical option for height and weight
- Bottom section of page should explain two things:
- the importance of sunlight
- introduction of developer (you) w/ links like Linkedln
Future Tasks
- improve optimalmsg in finding a better range of sun peaks & remind the chosen factors.