Log In  


Greetings from a distant Galaxy...
This shows that with very little code you can make weird stuff.
I kinda goofed around until I noticed the nice pattern line() makes if many of them are diagonal and go to a single point. in this case lines from 0,0 to 128,128 all go to 0,128 ↙️ and the other line just flip ↗️. The middle is made of two circles.

(105 chars)

a,c=128,circfill::_::c(64,64,20,2)c(64,64,10,10)for i=0,a do
line(0,a,i,i,6)line(a,0)end?"\^1\^c1"
goto _

6


Very simplified code.

function _draw()
 cls(0)

  --both circles
 circfill(64,64,20,2)
 circfill(64,64,10,10)

 for i=0,128 do

  line(0,128,i,i,6) --bottom left
  line(128,0,i,i,6) --upper right

 end
end


[Please log in to post a comment]