Afegida la demo del efecte matrix i el tweetcart equivalent

This commit is contained in:
2021-12-17 16:40:09 +01:00
parent 56f2e202e8
commit fe9f4fed9c
2 changed files with 64 additions and 0 deletions

11
tweetcarts/matrix.lua Normal file
View File

@@ -0,0 +1,11 @@
q=1200
h={}for i=0,q do poke(i,rnd(99))end
function t(a)poke(q+p,a)p=(p-40)%q end
function update()srand(1)for i=0,39 do
h[i]=(h[i] or rnd(30))+(1/(rnd(5)+2))p=i+(flr(h[i])%30)*40
t(15)t(14)
for j=0,5 do t(10)end
for j=0,5 do t(2)end
t(8)t(0)
end
end