Skip to content

pixelarray

JavaScript library for pixel drawing on Canvas 2D

pixelarray

pixelarray

open source 2017 - present

JavaScript library for pixel drawing on Canvas 2D

A JavaScript drawing library for Canvas 2D, with a small set of primitives and no dependencies. It is used in ten demos and in this site’s animation. I wrote it in 2017 and fully rewrote it in 2026.

  • JavaScript
  • Canvas 2D
  • ES modules
  • GitHub Pages