Add day 5

This commit is contained in:
rmgr 2022-12-21 20:31:26 +10:30
parent 0e424b947f
commit e1fbe535cb
1 changed files with 25 additions and 0 deletions

25
tcc5.p8 Normal file
View File

@ -0,0 +1,25 @@
pico-8 cartridge // http://www.pico-8.com
version 39
__lua__
pal({14,2,8,9,10},0)
cls()
w=64
z=-64
function _draw()t=time()/10%0.4
for x=z,w,2do
for y=z,w,2do
a=atan2(y,x)*8d=1000/sqrt(x*x+y*y)c = ((a^^d)*t)for xx=0,0do
for yy=0,0 do
pset(w+x+xx,w+y+yy,c%6+1)
end
end
end
end
end
__gfx__
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00700700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00700700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000