Page 1 of 1

Random lines

Posted: Fri Jun 09, 2017 8:18 am
by Mr. Kibernetik

Code: Select all

x=600; y=400
> i,1..1000
  #.drawcolor(#.rnd(1), #.rnd(1), #.rnd(1))
  #.drawline(#.rnd(x), #.rnd(y), #.rnd(x), #.rnd(y))
<
Снимок.JPG
Снимок.JPG (151.59 KiB) Viewed 1902 times

Re: Random lines

Posted: Sun Sep 17, 2017 5:54 pm
by rbytes
That is fast drawing!

Re: Random lines

Posted: Sun Sep 17, 2017 7:37 pm
by Mr. Kibernetik
rbytes wrote:
Sun Sep 17, 2017 5:54 pm
That is fast drawing!
Did you try hopalong example in sample programs?
The speed is so fast that it looks like a kaleidoscope :)

Re: Random lines

Posted: Sun Sep 17, 2017 10:10 pm
by rbytes
Yes, that is very fast. It is also impressive how small the code for these effects can be compacted in SPL. That is, when one learns it well. :lol: