Skip to content

Lab 5 Check

sh
machinelab test graphics
machinelab run --headless --dump-frame build/rectangle.ppm -- build/examples/vbe_rectangle

Discussion Prompts

  • Why is pitch not always width * bytes_per_pixel?
  • What changes when you double-buffer?
  • Which rendering helpers would you want before starting a game?

External Reading

Course/docs licensed CC BY 4.0. Code licensed MIT.