Posted: 17th May 2003 16:00
Just messing around whilst waiting for a reply to something, so i knocked this up quickly

Might make a good screen saver, but im thinking more about using it as a background for a menu or something ^_^

NOTE: For best results you really should run this full screen exlusive mode in 32 bit colour. If you wanna run it in a window make sure to change your windows colour mode to 32, else you wont get the full effect
Screen size doesnt matter.

+ Code Snippet
    R1 = 30
    R2 = 15
    R3 = 60
    R4 = 9
    G1 = 60
    G2 = 20
    G3 = 50
    G4 = 10
    B1 = 12
    B2 = 60
    B3 = 50
    B4 = 6

    do
        inc i
        box 0, 0, screen width(), screen height(), rgb(R1 + cos(i) * R1, G1 + cos(i) * G1, B1 + cos(i) * B1), rgb(R2 + sin(i) * R2, G2 + sin(i) * G2, B2 + sin(i) * B2), rgb(R3 + cos(i) * R3, G3 + cos(i) * G3, B3 + cos(i) * B3), rgb(R4 + sin(i) * R4, G4 + sin(i) * G4, B4 + sin(i) * B4)

        sync
    loop


You can mess on with those colour variables for intresting effects if you like, just dont set any ranges too high else you will end up pushing the colour through its limit and getting sudden shots of black which doesnt look so cool enjoy
Posted: 17th May 2003 16:01
oh, just incase you cant see the code tag buttons, i've attached it into the source of this post.

my first code snippit *sniff* so proud