Computer Science Canada

Spackle Program

Author:  Flikerator [ Thu Nov 11, 2004 12:45 pm ]
Post subject:  Spackle Program

This is my most basic spackle program. I like it better then my more advanced ones...Here it is!

code:

loop
Draw.Dot((Rand.Int(0,maxx)),(Rand.Int(0,maxx)),white)
Draw.Dot((Rand.Int(0,maxx)),(Rand.Int(0,maxx)),green)
Draw.Dot((Rand.Int(0,maxx)),(Rand.Int(0,maxx)),144)
end loop


Coded error - Edited
Edited - This is the grassy version. Mess around with the colours. Try just black and white, looks alright.

Author:  cool dude [ Fri Nov 12, 2004 1:09 pm ]
Post subject: 

well if u say its your first then good job. a lot of us did those kinda programs when we just started turing too. good luck with turing.

Author:  zylum [ Sat Nov 13, 2004 2:47 pm ]
Post subject: 

theres still an error in it. in the y parameter of drawdot you have Rand.Int(0,maxx) when it should be Rand.Int(0,maxy)

i know it doesnt make that much of a difference but a portion of the dots are being drawn off the screen making them appear slower.... this ofcourse wouldnt be a problem if you set the screen so that both the width and height were equal: setscreen("graphics:500;500")

Author:  chunginator [ Mon Nov 15, 2004 11:28 am ]
Post subject: 

a good thing to try for noobs is to try and make programs like these more smoother so its not so laggy. good job btw

Author:  zomg [ Tue Nov 16, 2004 11:50 am ]
Post subject: 

i made this program exactly(differnent colours) for my first program lol, does that take me back...


: