Question: Python 3 Recursive Art Help Create a function to draw an original image recursively. we recreated the recursive images of the Sierpinski triangle and a
Python 3 Recursive Art Help
Create a function to draw an original image recursively. we recreated the recursive images of the Sierpinski triangle and a branching tree. The code for both images is structurally similar, use those examples as inspiration. Name the function: my_Recursive_shape(level) Create an original piece of recursive art by considering other shapes and recursive patterns (for example, if the parameter level is an even value, create triangles, but if the parameter level is odd, create squares; instead of creating recursive images within the original shape, like in the Sierpinski triangle, draw outside of the original shape --like in the branching tree) Do not use the Sierpinski triangle Use different colors for the different recursive steps Create a program that asks the user for the number of recursive levels, and calls your function to create the recursive image. Create a function to draw an original image recursively. we recreated the recursive images of the Sierpinski triangle and a branching tree. The code for both images is structurally similar, use those examples as inspiration. Name the function: my_Recursive_shape(level) Create an original piece of recursive art by considering other shapes and recursive patterns (for example, if the parameter level is an even value, create triangles, but if the parameter level is odd, create squares; instead of creating recursive images within the original shape, like in the Sierpinski triangle, draw outside of the original shape --like in the branching tree) Do not use the Sierpinski triangle Use different colors for the different recursive steps Create a program that asks the user for the number of recursive levels, and calls your function to create the recursive image
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
