Coder Social home page Coder Social logo

cktang88 / word-color Goto Github PK

View Code? Open in Web Editor NEW
41.0 2.0 5.0 259 KB

Finds colors associated with a word, basically https://picular.co/

License: MIT License

JavaScript 85.11% HTML 14.89%
color color-palette words association design design-tools

word-color's Introduction

word-color

๐ŸŽจ โšก Creates word-color associations.

TODO:

  1. make all client-side, no server
    • can't use cheerio front-end?, need to replace somehow...
  2. implement caching via online JSON storage solution
  3. use https://www.npmjs.com/package/color-sort to display results

Examples:

Try it out!

Live Demo

Or locally:

$ git clone https://github.com/cktang88/word-color
$ cd word-color
$ npm i
$ npm start

Go to http://localhost:1234 in your browser.

๐Ÿ”ฅ ๐Ÿ”ฅ ๐Ÿ”ฅ

How it works

  1. Scrapes top images of the word from search engines.
  2. For each image, use MMCQ (modified median cut quantization) to extract a palette of dominant colors.
  3. Average palettes of all images to get final palette.

word-color's People

Contributors

cktang88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

word-color's Issues

This is awesome. A few suggestions

  • Search by hitting enter would be nice
  • Why not launch this as a web app?
  • UI needs some love. I can help if you'd like
  • click color to copy hex code would be sweet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.