Please enable JavaScript to use CodeHS

Tennessee Coding I

Lesson 3.1 Intro to the Canvas and Graphics

Description

In this lesson, students will learn about the graphics canvas and its coordinate system. Students will explore how to create and position shapes anywhere on the canvas. Graphic creation relies on setting the type of shape, size, position, and color on the artist’s canvas before adding it to the screen.


Objective

Students will be able to:

  • Understand the coordinate system of the canvas
  • Create basic shapes like circles and rectangles
  • Position shapes in specific locations on the canvas
  • Learn how to add color to shapes
  • Understand how the debug mode functions and how to turn it on or off