7. External Libraries

Cards (3)

  • External libraries add functions and features to a program which have been created by someone else, or reused from other projects
  • The line of code needed to use an external library in a program is 
    “import library_name;”
  • Using buttons can simplify a program as each button has a procedure associated with it, meaning a large if statement isn’t needed if you have many buttons. Buttons can also be hidden or shown as they are needed in the program. That’s the advantages of using ControlP5.