mirror of
https://github.com/irmen/prog8.git
synced 2024-06-01 06:41:42 +00:00
17 lines
282 B
Lua
17 lines
282 B
Lua
%import syslib
|
|
%import gfx2
|
|
%import math
|
|
|
|
main {
|
|
sub start() {
|
|
void cx16.screen_mode(128, false)
|
|
|
|
ubyte color
|
|
repeat {
|
|
cx16.FB_cursor_position(math.rnd(), math.rnd())
|
|
cx16.FB_set_pixel(color)
|
|
color++
|
|
}
|
|
}
|
|
}
|