Comments (5)
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.
more specifically, it would be extremely cool to have a web API for automatic queries ...
from iwanthue.
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.
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.
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)
- build palette around pre-selected colours? HOT 1
- Theory page JavaScript seems to get stuck in a loop
- Getting many visually distinct colors with the same saturation and lightness is hard
- Edit manipulates wrong colour after ordering them
- Sort by multiple keys
- Not working at all on os/x sierra (chrome or safari) ? HOT 2
- Are we still maintained HOT 3
- Theory page seems to cause browser hang HOT 2
- "I Want Hue" online tool "diff" mode bug
- We really need to create a npm package for this
- Add presets & filters to npm package
- Check bugfix for diffSort
- NaN bug in Protanope distance calculations for RGB color 9549d0
- Recreating same palette again with same parameters - what is the seed for palette? HOT 5
- Suggestion: Add "Steps" and "Ultra Precision" to GUI
- Locks position not changed after changing sorting
- Add HSL values to each color.
- Suggestion: Incorporate background color and WCAG contrast annotations. HOT 1
- Accompanying paper HOT 3
- Color space: boundaries for C HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iwanthue.