truchet.js

truchet.js — screenshot 1
truchet.js — screenshot 2
truchet.js — screenshot 3

A tiny library for performantly rendering tile patterns using JavaScript. You control which tile is rendered, when, and how, by passing around lists of props which are used by the library to determine whether a change has been made, and a re-render is due.