Tower Hanoi (recursive) in Processing

I wrote this recursive code for Hanoi tower, but it just draw the first and last position.
I don’t understand why I cannot see each step

please format code with </> button * homework policy * asking questions

Hello, @dyehuda, and welcome to the Processing Forum!

Your code is not formatted for posting, so it is difficult to read and to copy for testing.

See Guidelines—Asking Questions for information on formatting code for posting.

1 Like