Files
miniascii/demos/ticker.lua
Raimon Zamora f1034403de - [NEW] Raycast demo
- ticker.lua source "petrified"
- fire.lua source slightly reordered to be even "petrier"
2023-07-07 12:43:43 +02:00

7 lines
359 B
Lua

C=66 a=0 ticker=0 function p(C,x,y)if x<-8 or x>39
then return end for j=0,7 do l=peek(2560+C*8+j)
for i=0,7 do X=x+7-i ink(1+(flr(X)+j+flr(a))%15)if X>0
and X<40 then s=10+sin(a+(X)*0.1)*5 if l&1==1 then
print(chr(233),X,y+j+s)end end l=l>>1 end end end
function update()cls()m="HOLA JAILERS"for n=0,#m-1 do
p(ascii(m,n),n*8-flr(a*4)%(#m*8),0)end a=a+0.1 end