Random graph

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

Random graph

Post by Mr. Kibernetik »

Code: Select all

y = 200
'draw axis
#.drawline(500,y,0,y)
'draw graph
#.drawcolor(0,0,1)
> x, 1..500
  y += #.rnd(11) - 5
  #.drawline(x,y)
<
Снимок2.JPG
Снимок2.JPG (16.53 KiB) Viewed 2727 times

Post Reply