Attractor Functions

I recently discovered p5js that takes all the hardwork out of rendering on canvas and allows you to focus on the functional part of the application. As an experiment, I decided to investigate attractor functions.
Read more

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

Github Worktrees

Recently I needed another copy of the git repository I was working on but it seemed like an awful lot of work cloning it another folder and then switching back and forth and fetching/pushing to keep it all up-to-date.
Read more