Points inside a loop
Sept 7, 2013 4:56:30 GMT -5
Post by krzysztof on Sept 7, 2013 4:56:30 GMT -5
Here is a simple code for printing random color pixels in random places.
graphic #Points, 200, 200But the image is first calculated (prepared) and then displayed in static form. Is there a way to make points appeared and disappeared continuously?
for i = 0 to 100000
#Points color(255 * rnd(1), 255 * rnd(1), 255 * rnd(1))
#Points set(200 * rnd(1), 200 * rnd(1))
next i
render #Points
end