Code Calisthenics

JS Extreme Minification: Binary Char Encoding - Part 2

This is part 2 of binary character string encoding. In this part I discuss in detail how the encoding process was optimised even further to reduce the shape information to just a few bytes.
Read more

JS Extreme Minification: Binary Char Encoding - Part 1

This post documents the process of binary char encoding that was used for the js1k space invaders project.
Read more

JS Extreme Minification: Encoding Shapes

One of the biggest challenges while doing my js1k challenge was rendering shapes. In this part of the series I will discuss in detail the various possibilities of drawing shapes and why I chose to go with binary char encoding.
Read more