CS Unplugged: Line drawing

Use the Line drawing with pixels offline activity to explore how a computer draws lines and circles. This task combines 2D geometry and programming language. The activity sheets increase in complexity from drawing straight lines to circles. Students are shown how to use an algorithm to complete the more complex tasks. The activity sheets also provide answers.

Additional details

Year band(s) 5-6, 7-8
Format Web page
Core and overarching concepts Algorithms
Keywords Algorithms, Programming, Computational Thinking, Grids, Bresenham's Line, Algorithm, Vector graphics
Organisation

University of Canterbury, New Zealand

Copyright

Creative Commons BY-NC-SA 4.0