Encode the given date (excluding year and month) into a line composed of blocks of black and white pixels written on the top of the canvas.
width of the line in pixels
Optional
number of blocks in the line, 32 by default
current date, new Date() by default
Encode the given date (excluding year and month) into a line composed of blocks of black and white pixels written on the top of the canvas.