🎉 October Learning Month — learn a new software term every day!
An interactive flashcard trainer for software engineering terms.

Canvas

In plain terms

An HTML element for drawing graphics programmatically with JavaScript.

Going deeper

The Canvas API lets you render 2D (and via WebGL, 3D) graphics pixel-by-pixel in the browser, ideal for games, charts, and visualizations. It's an immediate-mode drawing surface.

Under the hood

Pixel-based (not retained DOM), so it's fast for many shapes but lacks built-in accessibility/selectability.

Examples

Games, data visualizations, image editing, charts, animations.

Think of it like...

Like a blank painting surface where JavaScript is the brush.

Feedback & Bug Report