p5.js sketches

This sketch simulates a recursive sliding puzzle. Click the screen to increase or decrease the level of recursion.

The picture is from Sukanto Debnath.

For more details, check the source code or play with it at JSFiddle.