A pixel-perfect canvas primitives library