HTML5 Canvas API
The drawing board uses HTML5 Canvas API to render graphics. Canvas provides a bitmap surface for dynamically drawing graphics through JavaScript. The 2D rendering context (getContext('2d')) provides methods for drawing lines, shapes, text, and images. Mouse/touch events capture user input, Canvas renders paths, and images can be exported as PNG/JPG.