Upload programs of this section to Classroom/Unit1/Programs1
Before starting, have a look at the coordinate system below
Drawing polygons 1
- Program1: drawing_steps1. Copy the program below (drawing_a_square_steps_1) to draw a square. Pay attention to the steps so that you understand how a square is created (150x150 square).
- Program2: drawing_steps2. Taking into account the previous program, modify it (only 2 steps) in order to draw a 250x150 rectangle (drawing_a_square_steps_2).
- Don't forget your names and class in your program.
- Download your program: click on the white page button and select Export summary... and save (download) it as html document (untitled.html) to Descargas. Go to Descargas and rename the file: drawing_steps1 and drawing_steps2.
- Upload your programs to Classroom/Unit1/Programs1.
Three more rectangles. Taking into account the program above,
- Program3: drawing_steps3 .Create another with the same dimensions but in the opposite direction (a rectangle to the left): drawing_a_square_steps_3
- Program4: drawing_steps4. Now modify your program so you add a diagonal (taking into account the coordinates you need to know to draw the diagonal, you only need add a new step to your program): drawing_a_square_steps_4
- Extra Program5_a rectangle with a different diagonal (extra: it's not an obligatory/compulsory activity): finally create another extra program: have a look at the flag of Galicia in the animation (drawing_a_square_gal)
Upload your programs to Classroom/Unit1/Programs1.