I'm using the StdDraw.java and I'm trying to draw something similar to this
http://mathworld.wolfram.com/MiceProblem.html
but I have no idea where to start... The user will input the integer N that will decide the number of sides of the polygon, but I don't know how to draw the polygon according to N...
Can anyone give me tips how to start coding this?
thanks
http://mathworld.wolfram.com/MiceProblem.html
but I have no idea where to start... The user will input the integer N that will decide the number of sides of the polygon, but I don't know how to draw the polygon according to N...
Can anyone give me tips how to start coding this?
thanks