Points inside a loop

new BookmarkLockedFalling
krzysztof
New Member
*

krzysztof Avatar

Posts: 45

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, 200
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
But the image is first calculated (prepared) and then displayed in static form. Is there a way to make points appeared and disappeared continuously?
Last Edit: Sept 7, 2013 5:20:58 GMT -5 by krzysztof
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
krzysztof
New Member
*

krzysztof Avatar

Posts: 45