You can make an infinite canvas in vanilla Javascript by sticking everything into an absolute positioned div, and then writing some mouse and wheel handlers. Drag me! Pan! Don't forget to inspect the code!