Hello!
I have a big problem with a exercise. its about drawing a labyrinth.
The question is :
Write a program that uses the DrawingPanel to draw the following spiral figure:
The window is 170 pixels wide and 170 pixels tall. The background is white and the foreground is black. The spiral line begins at point (0, 10) and spirals inward. There are 10 pixels between each arm of the spiral. 8 spirals are made in total. The initial spiral touches points (0, 10), (160, 10), (160, 160), (10, 160), and (10, 20).
For additional challenge, parameterize your program with parameters such as the window size and the number of spiral loops desired.
plz help me