Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.
/ sky-color Public archive

Small project to record the color of the sky

License

Notifications You must be signed in to change notification settings

albertyw/sky-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sky Color

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.

Process

This project will use a camera to take pictures of the daytime sky and calculate the sky color throughout the day.

  1. Run record.py to take pictures at intervals throughout the day
  2. Save pictures to the photos directory.
  3. Read the photos and find their closest rgb color using compute.py
  4. Write the rgb color for a given time on a given day to output.csv.

About

Small project to record the color of the sky

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages