A three week program to introduce the foundations of coding to beginners by creating visual art and animations in openFrameworks. This 5 course session will be open to anyone who wants to learn to code.
During this course students will be coding in C++ with openFrameworks, learning concepts like variables, memory, and scope; branching, looping, boolean evaluations, and logic; functions, recursion, and events; object-oriented design; OpenGl and 3D graphics, and working with media like video, sound, and responding to keyboard and mouse inputs.
- Instructor:
- Teaching Assistant:
- Location:
- Class Time:
- Office Hours:
This is very important! Before the first day of class, please get openFrameworks up and running. Debugging can sometimes take up to 30 minutes and we won't have time once class begins.
detailed install instructions are here
- Day 1: Graphics, variables, functions
- Day 2: Animations, ofMap
- Day 3: Loops, arrays
- Day 4: branching, classes, ofPoints/polyline/image, assets
- Day 5: 3D, pixels, recursion
- building apps with openFrameworks
- C++ syntax
- draw methods in openFrameworks
- variables
- functions with parameters
- C++ class member variables
- animation
- sine of elapsed time
- mapping between number ranges
- pseudo-random number generator
- boolean expressions
- for-loops, iterators
- arrays, C++ vector
- if-statements
- build a C++ class
- class member functions
- ofPolyline, ofImage
- transforms, push/pop matrix
- bits, bytes, C++ types
- reading image pixels
- nested for-loops
- recursion
- 3D graphics