Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Color Picker- Simple For Painting Programs.

Author
Message
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 15th Dec 2006 02:31
Simple color picker snippet.




-Mansoor Siddiquie

lower logic
18
Years of Service
User Offline
Joined: 15th Jun 2006
Location:
Posted: 15th Dec 2006 15:53
Nice. It's simple and works.

Several months ago I made my own color picker: http://forum.thegamecreators.com/?m=forum_view&t=83530&b=6 . Feel free to use it and learn how it works.
Alquerian
18
Years of Service
User Offline
Joined: 29th Mar 2006
Location: Reno Nevada
Posted: 19th Dec 2006 01:07 Edited at: 19th Dec 2006 01:11
Hey Xeno, I played around with this a little bit today and had a little fun with it. It isn't a full color palette, but it offers a bit more of a selection. Also, I sped it up so it isn't iterating through the for loops on every pass, now it just stuffs it into an image and displays it at the beginning of each loop. It seems quite a bit faster



instead of 10 to 13 fps, with this change I was getting 250+ fps. Cool snippet and thanks for making me play with this for 2 hours instead of actually working!

"We are what we repeatedly do. Excellence, therefore, is not an act, but a habit." - Aristotle

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-22 23:41:31
Your offset time is: 2024-11-22 23:41:31