itunes-colors
Porting Panic's iTunes album art color algortithm (http://www.panic.com/blog/2012/12/itunes-11-and-colors/) to JavaScript
Porting Panic's iTunes album art color algortithm (http://www.panic.com/blog/2012/12/itunes-11-and-colors/) to JavaScript
Porting Panic's iTunes album art color algortithm (http://www.panic.com/blog/2012/12/itunes-11-and-colors/) to JavaScript
Error message on page loading in Chrome Version 34.0.1847.60 beta :
Uncaught SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
To make code more flexible for advanced webapps, ImageAnalyzer should get Image object, not path to avoid doubled image loading in case of previous canvas usage. Eventually switch(typeof image) to select proper behaviour. Also in case of offline usage init should be executed at the end, as with local Apache setup onload may fire before all function are defined.
Would you mind adding a license to this project?
Hi,
First of all, I'm very impressed by this JS implementation.
But, here's my issue: I felt confused by the fact that the app.coffee, and thus the app.js code contains a usage sample.
And, if I'm correct, the app is right now only able to change the color of 3 pre-determined HTML elements with predefined classes.
IMHO, this app should just behave like a "lib", kinda like a plugin that I could load and run on whatever picture I want, and that could return a result that I could process my own way. Ex: return a map with the primary, secondary and detail color codes.
Do you think it's possible?
Just do
git checkout -b gh-pages
git push origin gh-pages
Your index should be visible in https://lukashed.github.com/itunes-colors
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.