Draw the Vicsek fractal at the specified position, with the specified length and depth.
(x: float, y: float, length: float, depth: float, color="blue")
| 55 | |
| 56 | |
| 57 | def draw_vicsek_fractal(x: float, y: float, length: float, depth: float, color="blue"): |
| 58 | """ |
| 59 | Draw the Vicsek fractal at the specified position, with the specified |
| 60 | length and depth. |
| 61 | """ |
| 62 | turtle.speed(0) |
| 63 | turtle.hideturtle() |
| 64 | set_color(color) |
| 65 | draw_fractal_recursive(x, y, length, depth) |
| 66 | turtle.Screen().update() |
| 67 | |
| 68 | |
| 69 | def main(): |
no test coverage detected