Skip to content

A python program to change color of lights based on current screen color

Notifications You must be signed in to change notification settings

dchen327/ambient-light-color-adjuster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Introduction:

This is a simple python program that changes the color of my Lifx A19 bulb to the color on my screen.

Usage:

Currently this program only works for lifx bulbs and linux. However, if your lightbulb has an api, it shouldn't be too hard to configure it. I'm using pyscreenshot to take a screenshot of a single pixel to find its color, but on other OSes other python modules can be used. Finally, if the one pixel sample is too small, experimenting with ColorThief can make it easier to grab the dominant color from an image. Use Ctrl+C to stop the program.

Demo:

GeometryDash

About

A python program to change color of lights based on current screen color

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages