Comment 3 for bug 644993

Izidor MatuĊĦov (izidor) wrote :

I've played a little bit with this idea and it's implementation. There is no known algorithm which is able to generate different colors (without a predefined list of colors). [Source: http://stackoverflow.com/questions/2328339/how-to-generate-n-different-colors-for-any-natural-number-n ].

I've tried to think my own algorithm but it is not so much more efficient against the simple random generation of color. I make a small GUI tool for playing - http://gist.github.com/643865 (It read your current tag set from ~/.local/share/gtg/tags.xml, show colors and allow you to generate a new ones). I have just a while for playing with this, therefore I implement the random generator.

The attached patch is for current stable code 0.2.4, so you can enjoy this little feature already :-)