alexeshoo / pylight Goto Github PK
View Code? Open in Web Editor NEWLED strip project
LED strip project
When serial data is available when using keyboardController, and the rainbow
function is used as the idle function on the arduino, the interrupt doesnt quite work right. The buffer often overflows. This is not the case for the rainbowCycle
function, however. Need work.
The a K means algorithm used to pull then main dominant color currently uses a random distribution of clusters. This means that images that have two similarly sized clusters cause an issue. Because the first cluster points are chosen randomly, the dominant color that is picked can be one of the two similar cluster and since the function updates all the time it can cause the leds to flash between a couple colors even when the image is static.
the scipy.kmeans2
function seems to have the ability to deterministically choose the initial points for the clustering which would solve this issue.
Currently control modes are implemented on the screenshot controller branch in a mess. This should be cleaned up so its not a hassle later.
by sending a HIGH value on the unused bit of the serial message, we can suppress a pixel color update. This means previous values can be saved.
Scan screen and set the LED strip to the dominant screen color.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.