ICM -Functions: the basics -Week 4

Explore re-organizing your code. Keep setup() and draw() as clean as possible, and do everything in functions that you create yourself:
1.Break code out of setup() and draw() into functions.
2.Use a function to draw a complex design (like this) multiple times with different arguments.
3.Write a function to that returns the result of a mathematical operation that you need to do several times in your code.

Posted in ICM

Leave a Reply

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