

A simple clock postcart. The cartridge is at https://www.lexaloffle.com/bbs/?tid=149684 so you can see your current time instead of just the one in the gif.
(290 chars)
s=sin c=cos t=stat v=ovalfill o=64.5function l(a,b)line(o,o,o-s(a)*b,o-c(a)*b)end::_::srand()cls(4)rectfill(8,8,119,119,2)v(0,0,127,127,4)v(8,8,119,119,7)for i=1,12do?i,-s(i/12)*48+62,-c(i/12)*48+61,0 end?"●",61,62 e=t(95)/60%1m=(e+t(94))/60%1h=(m+t(93))/12l(e,52)l(m,44)l(h,32)flip()goto _ |
[Please log in to post a comment]