Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.73 KB

04_functions.md

File metadata and controls

21 lines (17 loc) · 1.73 KB

Functions (and here comes Objects)

The videos in this section were created ~2 years ago. They use different editors for p5.js. All of the concepts should still apply, however, there are some minor changes. Most notably in JavaScript let is now the preferred way to declare a variable over var. If you would like to learn more about this you can watch this video about let vs var.

Modularity

Re-usability

Recursion