Drawing trees with HTML5's canvas.