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 / Colour Changer for DBC

Author
Message
Ginga
18
Years of Service
User Offline
Joined: 3rd Jul 2006
Location: Dorset, England
Posted: 21st Jul 2006 17:02 Edited at: 21st Jul 2006 17:03
Groovey little RGB colour changer/phaser

This is a very simple code, can obviously be adapted for text or other items.



Basically, the Red and Blue value for the colour increses and decreses, and a border is drawn in the colour currently selected.

By adapting the code, you can change the shades and colours used, for instance, by changing the Red to Green, and having the ink command as "ink rgb(0,G,B),0" it will phase from blue to green and back again.

Enjoy

EDIT

Word of warning, keep the initial variables

B = 255
R = 1
D = 0

outside of the repeat/until comand else it aint gunna work

Login to post a reply

Server time is: 2024-11-23 03:23:46
Your offset time is: 2024-11-23 03:23:46