ICM: Code reorganization and functions

This week’s assignment was to reorganize our code. We could break out our code in setup and draw into functions, use a function to draw complex designs, or write a function to that returns the result of a mathematical operation that you need to do several times in our code. I chose to break out the code in setup and draw into functions. In hindsight, I also should’ve found a way to simplify my code as well.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.