Skip to content

Dalejan/colorsPalette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Palette Generator with Machine Learning

A simple color palette generator built with pyscript

GitHub Last Commit GitHub Language Count GitHub Top Language scikit-learn numpy

Badges from Kapasia and Gh badges

Key FeaturesHow To UseCredits

Key Features

  • Machine learning unsupervised clustering
    • Thanks to k-means algorithm we can cluster the colors and select the most representatives
    • This could have been done with an histogram, but where is the fun on that?
  • Pyscript proxy with javascript events
    • Pyscript allows the communication between js and python by proxies and specific attributes.

How To Use

To clone and run this application, you'll need Git and python installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/Dalejan/colorsPalette.git

$ cd colorsPalette

# To correctly serve these files locally you must use http.server or similars
$ python -m http.server

Once the app is on you can go to http://localhost:8000 and play around.

Note The use of http.server is necessary for this project due to the modular file structure


Credits

This software uses the following open source packages:

You may also like...


Built with 💖 By David Alejandro Quiñonez

GitHub @Dalejan

More social network later :D

About

Color palette generator with pyscript and scikit learn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors