diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-04-02 16:00:53 -0700 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-04-02 16:00:53 -0700 |
commit | 8db536cf3b420c65eb87b77415d3e70ac6a68cfa (patch) | |
tree | 0f106644e9147c9d45e3fae3c1f488007bef3b7c | |
parent | eebf110ad874571f87ebae67ef612bab5f00ed98 (diff) |
Make it 150% better
-rw-r--r-- | readme.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,7 @@ # useSunlight +[](https://circleci.com/gh/nvandoorn/useSunlight) + A React hook for the current level of sunlight on an integer scale from `[0,10]`. Solar altitudes in the range `[0, PI]` are mapped to their height above the horizon on the unit circle (scaled up by 10), and all range below the horizon (`[PI, 2PI]`) are mapped to zero. ## Demo |