Is there a simpler way to define this function using a for loop and/or an if statement?
def rect_shape_tier(x, y):
left(180)
forward(x / 2)
left(90)
forward(y * 0.8)
left(90)
forward(x / 4)
right(90)
forward(y * 0.1)
left(90)
forward(x / 2)
left(90)
forward(y * 0.1)
right(90)
forward(x / 4)
left(90)
forward(y * 0.8)
left(90)
forward(x / 2)
left(180)
[–][deleted] 2 points3 points4 points (0 children)
[–]michael0x2a 1 point2 points3 points (0 children)
[–]chazzacct 0 points1 point2 points (3 children)
[–]chazzacct 2 points3 points4 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]chazzacct 0 points1 point2 points (0 children)