Math · Intermediate · Lesson 1 of 8
Drawing with Pixels
Lines on a grid
An interactive lesson with 6 steps, about 5 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.
What you’ll learn
- Screens are grids of pixels; lines become staircases of lit squares.
- A line lights max(|Δx|, |Δy|) + 1 pixels; anti-aliasing shades partial pixels.
- Raster images are pixel grids; vector graphics are equations redrawn at any size.
Steps
- Which squares to fill?
- Counting pixels
- Softening the jaggies
- A full-HD screen
- Zooming in
- A 4K frame