Computer Science Canada

Flashing Text

Author:  whatismyname [ Thu Oct 13, 2005 10:00 pm ]
Post subject:  Flashing Text

im kinda new at the turing stuff were learning it in school but i wanna show off and be cool by showing them some cool stuff so is there anyway for me to make a certain word/number when i push a botton? if so plz help by showing me

thx in advance

Author:  TokenHerbz [ Thu Oct 13, 2005 11:55 pm ]
Post subject: 

code:

var w : int := Window.Open ("graphics:max;max,nocursor,noecho")

var x, y, c : int

x := maxx div 3
y := maxy div 3
c := 1

loop
    for i : 1 .. y
        c := Rand.Int (1, 150)
        Draw.Oval (x, y, i, i, c)
        c := Rand.Int (1, 150)
        Draw.Oval (maxx - x, y, y - i, y - i, c)
    end for
    for decreasing i : y .. 1
        c := Rand.Int (1, 150)
        Draw.Oval (x, y, i, i, c)
        c := Rand.Int (1, 150)
        Draw.Oval (maxx - x, y, y - i, y - i, c)
    end for
end loop


There, Now your cool!

Author:  ZeroPaladn [ Fri Oct 14, 2005 9:01 am ]
Post subject: 

yeah, cool to everybody cept the ones prone to epileptic seizures Twisted Evil anyways, no matter how "cool" it is, just copying other peoples code and using it is concidered plagreism (of however you spell it). instead you should [i]study[\i] the code, then make yor own. you wont learn jst by copying.


: