Comments (2)
Yeah, the infinity
was meant to convey that I have no real limit on the number of colors.
A stream of distinct colors is much harder....
If I generate 8 colors, and then you ask for 9. I can't just create a new color. I need to change the previous 8 too. Because I generate a palette where the colors are as evenly spaced as possible.
So, at least in this case.....it will not work as a stream. (at least not very well)
from distinct-colors.
I understand it won't work with the library as is. The idea is for each color in the stream to be maximally different from all the colors that came before it. Anyway, it's probably an altogether different mathematical problem, but it couldn't hurt to ask.
from distinct-colors.
Related Issues (13)
- Certain option values throw errors HOT 10
- Reduce or empty array with no initial value error HOT 1
- state issue HOT 5
- dist build issue HOT 6
- Typescript description file required HOT 1
- Exception thrown in some specific condition (related to counts parameter) HOT 3
- Duplicate samples being created in certain cases.
- This is great! What else can it do? HOT 2
- Not working in Internet Explorer HOT 1
- what settings work best to create light yet distinct colors? HOT 2
- Color blindness HOT 1
- Doesn't generate palette with (relatively) large number of colors HOT 5
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 distinct-colors.