Skip to main content

Lesson 1: Mini Challenge

For this mini challenge, the VR Robot will use the Pen tool to draw two squares of different sizes on the Art Canvas Playground!

Art Canvas Playground with a VR Robot at the end of the project. Two squares with dark black lines have been drawn on the Playground. One is approximately twice the size of the other.

Follow these steps to complete the mini challenge:

  • Watch the solution video to see how the VR Robot should move in order to complete the mini challenge. 

    • In the video clip below, the VR Robot begins in the center of the Playground, facing upwards. It drives forward to complete the first side of the square, then turns right for 90 degrees, and repeats these behaviors to draw all four sides of the square. The Pen is then lifted, and the robot drives into the open space to the left of the large square. It then draws a smaller square by driving forward and turning left four times.

  • The square on the right should be 600 by 600 millimeters (mm), and the smaller square on the left should be 300 by 300 millimeters (mm).
  • The squares should not be touching each other, so the Pen tool will need to be picked up after drawing the first square and then placed back down.
  • Create this project by adding or removing the necessary blocks to the Unit3Lesson1 project. Remember that you can use VEXcode blocks, Switch blocks, or both block types to create your project. 
  • Start the project to test it.
  • If the project does not run as intended, edit the code and try again. Continue this process until the mini challenge is complete.
  • Once the VR Robot successfully draws the two squares, save the project.

Congratulations! You solved the mini challenge!

Questions

Please select a link below to access the lesson quiz.

Google Doc / .docx / .pdf