summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-04-02 16:00:53 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-04-02 16:00:53 -0700
commit8db536cf3b420c65eb87b77415d3e70ac6a68cfa (patch)
tree0f106644e9147c9d45e3fae3c1f488007bef3b7c
parenteebf110ad874571f87ebae67ef612bab5f00ed98 (diff)
Make it 150% better
-rw-r--r--readme.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 9dd1d88..f2627ec 100644
--- a/readme.md
+++ b/readme.md
@@ -1,5 +1,7 @@
# useSunlight
+[![CircleCI](https://circleci.com/gh/nvandoorn/useSunlight.svg?style=shield)](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