Step 1. Function Basics

Daniel Shiffman of The Coding Train introduces the fundamental concept of a "function" in programming.

One World shows how to make a nice bouncing ball. The other World shows how to separate out that code into separate functions, so not all the code has to be inside the draw() function.

Again, we assume you have done Introduction to Programming: Part One.

Reminder on how to to use these course pages
  • Click video to play. Click World to run.
  • Click "Clone and Edit" to make your own copy of the World and edit it.
  • Use buttons (or back and forward arrow keys) to move through the course.


Tutorial 5.1 (0)
Function Basics


Tutorial 5.1 (1)
Function Basics
Tweet this step: