An animated day / night scene.

All graphics are drawn in canvas with JavaScript.

JavaScript filesize <1kB

I started by 100% manually compressed the code, but as things got more complicated I started making errors. So, mainly to save time, I now manually optimise (code order, logic, variables names etc), then run a final compression with JSCompress .

Uncompressed WiP version