Computer Science Canada

If you guys are bored and want circles to magically change colors randomly look at this and reply to say how it is

Author:  Jesse Kazemi [ Wed Jun 18, 2014 1:07 pm ]
Post subject:  If you guys are bored and want circles to magically change colors randomly look at this and reply to say how it is

%Question 6: This program will display 100 circles where all the circles
%have a center at 320, 240. The first circle should have a radius
%of 100 and each of the remaining circles decrease in radius by 1 pixel.
%*/
for decreasing radius : 100 .. 1
drawfilloval (320, 240, radius, radius, Rand.Int (0, 255))
end for

your mind was blown Shocked Shocked Shocked Shocked Shocked

Author:  Insectoid [ Thu Jun 19, 2014 11:07 pm ]
Post subject:  RE:If you guys are bored and want circles to magically change colors randomly look at this and reply to say how it is

Quote:
your mind was blown


Nah, not really.

It's a waste of time to post 3-line programs. Nobody needs or wants to see it. If you do something impressive that you're really proud of then by all means post it, but there's no need to share every assignment that you write.


: