Let's Start Using the Coordinate Plane to Program
02/28/2025


The Coordinate Plane with 4 Quadrants

The figure below shows a coordinate plane with the x-axis and y-axis and the horizontal lines and vertical lines spaced at a distance of 20. The figure also shows a point on the coordinate plane with coordinates of (60,100) in quadrant-1, (-100,+100) in quadrant-2, (-60,-40) in quadrant-3, and (+20,-40) in quadrant-4.

Degree Headings

Use these headings below to point your pen in the desired heading or direction.

Example:

Here's an example of a simple project using the coordinates to place the pen in the four different quadrants.

 

Copy this code for classroom activity:

 


t.penup()
t.setpos()
t.pendown()
t.circle()

 

Now, Let's use a function to repeat a code block:

 



def draw_circle():
   t.penup()
   t.setpos(x,y)
   t.pendown()
   t.circle(50)

x = 100
y = -100

 


RELATED ARTICLES