Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: jeanfabre on October 02, 2013, 02:29:16 AM

Title: Random Color ( that looks good actually)
Post by: jeanfabre on October 02, 2013, 02:29:16 AM
Hi,

Please find a random color custom action that will actually output pleasing colors, not just mud...

 Optionnaly you can also randomize alpha.

All Credits goes to Eric5h5 once again :)

http://answers.unity3d.com/questions/204958/random-colors-as-distinct-as-possible.html

 Bye,

 Jean
Title: Re: Random Color ( that looks good actually)
Post by: Uttpd on October 02, 2013, 06:23:10 AM
so this will output complement(ish) colors
http://colorschemedesigner.com/
cool
Title: Re: Random Color ( that looks good actually)
Post by: jeanfabre on October 03, 2013, 01:57:22 AM
Hi,

 Definitly not I am afraid... I am not making any composition of colors, just outputing true random colors but using HSV which means colors are nicer than if you randomize the rgb values ( which gives 90% of the time brown and mudy colors).

But you give me an idea. Maybe for online games, some action could plug to an external api for colors. If you know a good api around, let me know, that could be a cool thing to propose the user with truly composed colors schemes taken out of such system.

bye,

 Jean
 
Title: Re: Random Color ( that looks good actually)
Post by: Uttpd on October 03, 2013, 06:34:11 AM
I probably wouldn't´t recognize that API if it hit me in the face.
Maybe contact the colorschemedesigner?  They add a failed kickstarter (last July) so they probably would be interested on more exposure to there tool.
From the various color wheels floating around, this one seemed to me the more intuitive and usable with various export options. 

http://www.colorschemedesigner.com/blog/
Title: Re: Random Color ( that looks good actually)
Post by: jeanfabre on October 04, 2013, 01:15:52 AM
Hi,

Few are available:

http://www.colourlovers.com/api // this one seems really powerful
http://www.colr.org/api.html // this is seems a bit short of content, but looks like doing the job.


 Bye,

 Jean