Added basic graphical display using the canvas and window.animationFrame()