HyperSpace - TIC-80 128 bytes

Perhaps my favorite due to binary size and result, very
similar technically to Apollonian
but drawn differently.
I remember struggling with many things on this one because i
wanted to reach 128 bytes with interesting sounds and not just
background buzzing likes Chmmr.
It is a Minsky circle variant but moving from top to bottom
with circles oscillating in size, i was going to clear the screen
at first but i was not satisfied at how it looked like so i made
the decision to not clear the screen, this surprisingly provided a
much richer picture which seems multidimensional; glimpse of
structures fading in and out over time.
The code is LUA and is packed with pactic.
I also did a quick DOS port for this one without colors and
sounds to see how small it can be on early CPU / 80s platforms, got
it under 100 bytes, could probably go lower (64b ?) perhaps but got
bored in the process. UPDATE : 40b / ~35b on DOS although it is a
skewed variation and colors sucks, the original code still has room
for optimizations.
Unpacked version :
x=1
y=0
cls()
function TIC()
for i=0,1e4 do
t=time()
x=x-y/2+t
y=(y+x/2)%16384
x=x-y/2+t
t=t//8
poke(65455+y%64,32+t%64)
pix(x//128+120&255,y//128%140,t//33+i//8e3)
end
end
back to top


