Circles on the screen

Post Reply
User avatar
Mr. Kibernetik
Site Admin
Posts: 3850
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPad, iPhone, MacBook
Location: Russia
Flag: Russia

Circles on the screen

Post by Mr. Kibernetik » Mon Aug 07, 2017 4:29 pm

Code: Select all

mx,my = #.scrsize()
mr = #.min(mx,my)
ms = #.max(mx,my)/33
> i, 1..30
  #.drawsize(#.rnd(ms))
  #.drawcolor(#.rnd(1),#.rnd(1),#.rnd(1))
  #.drawcircle(#.rnd(mx),#.rnd(my),#.rnd(mr))
<
Снимок.PNG
Снимок.PNG (106.98 KiB) Viewed 24 times

Post Reply