/ schazers / games / Bit Sine Graph

Bit Sine Graph

Last updated November 13th, 2019 · 17 plays
H i g h S c h o o l S c i e n c e V i d e o s
Jason Riggs @schazers  ·  7 months ago
require 'bits' N,X,Y=17,9,7 c=5 function _D() BG(9) for i=1,N do B(i,9 + 8*SIN(i/2+T()*2),7) end H(9,0,17,7) V(2,0,17,7) B(X,Y,c) end function _U(dt) if T(1)>0.4 then c=8 else c=5 end if T(1)>0.5168 then RT(1) end end