Small project to record the color of the sky
I needed realistic sky colors throughout the day to color the background of www.codemancer.com so that it would match the real sky color. There's a lot of sky colors chosen by designers and there's some semi-scientific color calculations but I haven't found a good way of also computing color gradients towards the horizon (which is affected by local weather). Being in San Francisco, I get a fair amount of cloud-free days and a good view of the horizon which makes this project possible.
This project will use a camera to take pictures of the daytime sky and calculate the sky color throughout the day.
- Run record.py to take pictures at intervals throughout the day
- Save pictures to the photos directory.
- Read the photos and find their closest rgb color using compute.py
- Write the rgb color for a given time on a given day to output.csv.