Giter Club home page Giter Club logo

Comments (5)

jacomyma avatar jacomyma commented on July 2, 2024

I agree that it would be a really nice improvement. I was wondering if implementing it would worth it, now I know. Thanks for the feedback :)

from iwanthue.

bbolker avatar bbolker commented on July 2, 2024

more specifically, it would be extremely cool to have a web API for automatic queries ...

from iwanthue.

JoshOBrien avatar JoshOBrien commented on July 2, 2024

I'll second Ben Bolker's request, arising from this SO post. For R users, such an API would complement the also excellent RColorBrewer and colorspace packages.

from iwanthue.

jacomyma avatar jacomyma commented on July 2, 2024

Ok, I have this in mind. However there is something I can do and something I cannot.

I cannot provide an online service. Actually, there is no server side in this application. So I cannot provide an online API that you would just query to get the colors. The code is in javascript and you can use it in a front-end project or server-side if it is in javascript (Node.js). It is not an API, it is just a function (or two).

The code of this function is available. You can download it as a file there and look at the code here on github. In order to have this in R or other languages, it is necessary to transcribe it in another language. I will probably not do this transcription myself. However I can explain the code or add documentation if you need it.

On the bright side I can provide a URL for a given palette and color space. I can do it the html5 way an I will probably do it when I will have some time !

from iwanthue.

bbolker avatar bbolker commented on July 2, 2024

It makes perfect sense that you're not able to provide an online API. I find the project really cool and was more or less wishing for the moon. Perhaps sometime I will get around to an R translation. Thanks!

from iwanthue.

Related Issues (20)

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.