Intro to Creative Programming

RISD Digital+Media, Fall 2013

Week 1: 9/11

0: Basic Drawing

Week 2: 9/18

1: For Loops

2: Setup/Draw, MouseX, MouseY, Map/Constrain

Week 3: 9/25

3: Conditionals (if) and Logic Operators

4: Mouse Interaction

5: Keyboard Interaction

6: Distance

7: Drawing Images

8: Drawing Text

Week 4: 10/02

9: Motion

10: Transforms

11: Functions

Week 5: 10/09

12: Arrays

13: Pixels*

(* These examples don't work on local installations)

14: Touch Interaction
(Try these in a browser on a touch-enabled device such as a smartphone or tablet!)

Week 7: 10/23

15: Classes and Objects

16: Processing to ProcessingJS

Week 8: 11/06

Check the HTML/DOM/CSS section in the Resources page for links to more examples and tutorials

17: HTML manipulation

Week 9: 10/30

18: Third-party JS Libraries: Buzz

Check the Creative Coding JS Libraries in the Resources page for links to some creative coding JS libraries

A good JS library is easy to download and has good documentation.

To use a third-party JS library:

  1. Find a library with proper download links and documentation
  2. Download the library .js file and put in your sketch folder
  3. Include the library at the top of your .html file
  4. Use the code in your setup() function or event handler functions

How to use the Buzz audio library:

Week 10: 11/13

19: Asynchronous loading and JSON

To run these examples locally on your machine, you must install a local server.
Instructions on how to install/run a local server.