Canevach started as a code golfing experiment, 280 characters of HTML, CSS and JavaScript producing pixelated patterns when copy-pasted in the address bar of a web browser.
The code has been adapted for the sake of entropy control and readability, but I tried to keep it as lean as possible to honour the code golfing spirit that initiated the project.
The artwork is generated by manipulating pixels directly through the Canvas API.
Colours are uniformly selected in RGB space, without any colour theory considerations. The only exception is for black, which is made more prominent by the way the algorithm is initiated.
Features • Canvas size: 8x8 | 16x16 | 32x32 | 64x64 | 128x128 • Number of colours: 1 to 5