Home /
Expert Answers /
Computer Science /
1-task-1-draw-a-regular-shape-your-first-task-for-this-assignment-is-to-draw-a-regular-shape-a-s-pa390
(Solved): 1 Task 1 - Draw a Regular Shape Your first task for this assignment is to draw a regular shape (a s ...
1 Task 1 - Draw a Regular Shape Your first task for this assignment is to draw a regular shape (a shape that has the same edge length and angle size for all of its edges and angles)! - Write one for loop to draw a shape from the table below. Do not choose a shape that is crossed off in the table as those were covered in previous exercises. - Each iteration of the loop should draw one edge and vertex of the shape. - Below is a table listing the angles that the Turtle would have to turn at each vertex to draw some common regular shapes. - We recommend you choose one of the shapes in the table below. If you choose to draw your own shape instead, it must be a regular shape. - Write your code for this task in the method of Shapes. java beneath the comment that says regular shape
2 Task 2 - Draw a Regular Shape Many Times The second task for this assignment is to draw your regular shape many times! - Using nested loops, draw your regular shape from Task 1 at least 10 times on the canvas. - Each iteration of the inner loop should draw one edge and vertex of your shape. - Each iteration of the outer loop should draw a whole shape once. - Each iteration of the outer loop should add noticeable complexity to your drawing. That is, don't trace over exactly the same lines so that one iteration hides the work of a previous one. Your shapes can touch or overlap partially, and you can choose how to separate them (angle, position, size, etc...) - Write your code for this task in the main method of Shapes.java beneath the comment that says 2: Draw a regular shape many times