Oct-06-2017, 02:32 PM
Like I said, the turns at the end of the loop are a trick. It's not a simple formula. Think about the turns in the base curve: L60, R120, L60. In The second level, the turns are L60, R120, L60, L60, L60, R120, L60, R120, L60, R120, L60, L60, L60, R120, L60. Now, if we set A to be L60, R120, L60, that's A, L60, A, R120, A, L60, A. Do you see the pattern? Note that you don't have to make a formula to figure out those turns. You could just build up a list of them iteratively.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures