This is very impressive!
Lots of counterintuitive observations when you realize the objective is for compressed 2k size, which means that duplicate code is actually a good thing!
It reminds me of this 3d maze in 1k of javascript from many years ago: https://js1k.com/2010-first/demo/459