-- online Search!

Critical thinking for an AI world

Canvas Quizzes

Review drawing state, motion, and interaction. Find the assumptions that make a canvas scene work or break.

Choose from 28 quizzes below. Practice the concepts you need to judge a solution, recognize faulty assumptions, and find errors in logic or code. Every answer includes an explanation and a link back to the relevant tutorial.

Canvas Foundations

DOM vs. Canvas

Choose a drawing model by reasoning about updates, interaction, and the objects your app needs to remember.

6 questions

Take quiz

Getting Started with Canvas

Understand the drawing surface, its coordinate system, and why visible pixels depend on more than CSS.

6 questions

Take quiz

From Pixels to Objects

Decide where a shape's state belongs and how to redraw many independent objects without losing track of them.

8 questions

Take quiz

Drawing and Styling

Canvas Drawing Basics

Reason about paths, coordinates, and the difference between describing a line and making it visible.

6 questions

Take quiz

Drawing Curves

Predict how endpoints and control points change the shape of a curve.

4 questions

Take quiz

Drawing Multiple Things

Diagnose connected paths, shared styles, and unexpected overlap when several shapes share a canvas.

6 questions

Take quiz

Rectangles and Squares

Choose between a reusable rectangle path and immediate drawing, and reason about fills and outlines.

6 questions

Take quiz

Drawing Triangles

Use vertices, closed paths, and geometric constraints to judge whether a triangle is drawn correctly.

6 questions

Take quiz

Drawing Circles

Understand the center, radius, and angular sweep behind circles and partial arcs.

6 questions

Take quiz

Line Joins and Corners

Explain sharp corners, rounded joins, and the spikes that can appear where thick lines meet.

4 questions

Take quiz

Canvas Colors and Gradients

Reason about paint state, transparency, and the coordinates that shape a gradient.

8 questions

Take quiz

Drawing Text

Diagnose text positioning and sizing by understanding alignment, baselines, and font measurements.

6 questions

Take quiz

Drawing Images

Separate image loading, cropping, and scaling so you can explain blank or distorted drawings.

8 questions

Take quiz

Canvas Transforms

Predict how changing the coordinate system affects drawing order, rotation, and shared state.

8 questions

Take quiz

Equilateral Triangles

Reason about equal sides, geometric centers, and reusable triangle coordinates.

6 questions

Take quiz

Animation and Interaction

Canvas Animation

Explain how changing state and redrawing frames create motion, and diagnose unwanted trails.

6 questions

Take quiz

Animating Many Objects

Keep animation state independent while coordinating drawing and cleanup through a shared frame loop.

6 questions

Take quiz

Motion Trails

Build a useful mental model of position history, drawing order, and bounded trail storage.

6 questions

Take quiz

Sprite Animation

Reason about sprite-sheet crops, playback timing, and the difference between a frame and a whole image.

6 questions

Take quiz

Canvas Mouse Input

Choose the right coordinate space and understand what a pointer event can tell you about drawn shapes.

6 questions

Take quiz

Following the Mouse

Connect pointer input to drawing state without confusing event timing with animation timing.

6 questions

Take quiz

Following with Ease

Understand why distance-based movement slows near a target and how coordinate changes affect it.

6 questions

Take quiz

Keyboard Movement

Reason about key state, simultaneous input, browser defaults, and movement on a pixel surface.

6 questions

Take quiz

Sizing and Sharpness

Resizing the Canvas

Distinguish display size from drawing-buffer size and explain why resizing can erase a scene.

4 questions

Take quiz

High-DPI Canvas

Match drawing-buffer resolution to display density without changing the intended size of your scene.

6 questions

Take quiz

Drawing a Grid

Choose spacing and line placement that keep a grid regular and sharp.

6 questions

Take quiz

Fullscreen Grids

Keep a canvas grid aligned with the available viewport when its dimensions change.

4 questions

Take quiz

Sharp Canvas Lines

Explain soft edges through pixel coverage instead of guessing at line widths or display settings.

6 questions

Take quiz

Also in this tutorial series: Animation frame callbacks, Working with keyboard events. These quizzes live in their original sections, so your progress stays together.

The KIRUPA Newsletter

Thought provoking content that lives at the intersection of design 🎨, development 🤖, and business 💰 - delivered weekly to over a bazillion subscribers!

SUBSCRIBE NOW

Creating engaging and entertaining content for designers and developers since 1998.

Follow:

Popular

Loose Ends

:: Copyright KIRUPA 2026 //--