A few shell scripts to convert the HTML markup in your code projects to the simplified HTML5 syntax—using just `find` and `sed`.
read full post…
This post explains how to generate bitmap images byte-by-byte in JavaScript without the aid of the canvas element. It covers the three issues of representing bytes, the bitmap format, and media as a string.
read full post…
This post gives examples of 3 different ways to write Python decorators, and it talks further about catching extra function arguments, callable classes, and the functools methods wraps & partial.
read full post…
I recently built a tetris-like game using the HTML5 canvas. It lets you choose how the shapes are selected from random to evil to nice.
read full post…
Wishing you a Merry Christmas and Happy Holidays—with a canvas element animation and a low-res-paint Christmas tree!
read full post…