12293
Comment:
|
12396
|
Deletions are marked like this. | Additions are marked like this. |
Line 40: | Line 40: |
* Reflection on the first half of the assignment. | |
Line 157: | Line 158: |
* Written reflection about your development in the assignment. | * Written reflection about your development in the entire assignment (max. 2 A4 pages). |
Line 163: | Line 164: |
* Written reflection about your development in the assignment. | * Written reflection about your development in the entire assignment (max. 2 A4 pages). |
Creative Programming Assignment 201311
Please read AssignmentDescription.
Please follow the instructions below carefully. It will save us a lot of time.
For your convenience, please buy a copy of Getting Started with Processing, by By Casey Reas, Ben Fry. e-Books and hard copies are available from O'Reilly
Before the first lecture, Please download and install Processing on your laptop.
- Always bring with you your laptop, with fully charged batteries and power cables.
- For the workshops in week 5 and 6, please bring your Arduino starter kit to the class. your kit shall include at least the following:
- Arduino board
- USB cable
- two push buttons
- a bread board
- a 10K ohm resistor
- a light sensor (LDR or Light Dependent Resistor)
- a few color leds
- a few jumper wires
Contents
1. Summary of the structure
- This assignment takes seven weeks. Each week has:
- a two hour lecture,
- a two hour workshop,
- and 12 hour self study tasks.
- Exercises given by the lecturers,
- Two challenges. One for the first four weeks and the other for the last three weeks. Your result of the challenge will be exhibited or presented during a scheduled workshop.
- All the assigners and the students will visit the exhibition and give comments to each other.
- Some of the results will be selected for plenary presentation.
1.1. Challenges
- Challenge 1
- Individual task. Creating static visual arts. At the end of this part, every student is expected to be able to
- create an artistic poster that demonstrates beauty and complexity, using Processing
- print the result and present it on a foam board (A3 only please), for the exhibition in the fourth week.
Source code. Please zip the sketchbook and deliver the zip file. Please use the zip format only.
- PDF of the print.
- Reflection on the first half of the assignment.
Source code. Please zip the sketchbook and deliver the zip file. Please use the zip format only.
A TXT file including a link to a YouTube video that demonstrates the interactivity. We would expect a good quality video. Please include the link in a plain text file with an extension “.TXT”. The video shall be titled as
CreaPro 2013: <a meaningful title> by <your names>
Please also include a brief description (in the TXT file as well as on YouTube) about the concepts behind your video and the implementation techniques. Tag your video with “creapro”.
2. Schedule
Week |
|
Lecture 13:45 t/m 15:30; METAFORUM ZAAL 08 |
|
Workshop 10:45 t/m 12:30; Auditorium 13 |
1 |
12-11-2013 |
Introduction, by Jun Hu |
14-11-2013 |
Using Libraries, by Jun Hu |
2 |
19-11-2013 |
Variables and Flow Control, by Mathias Funk |
21-11-2013 |
Graphics, by Mathias Funk |
3 |
26-11-2013 |
Arrays and Functions, by Mathias Funk |
28-11-2013 |
Exhibition of Challenge 1 by All |
4 |
03-12-2013 |
Algorithms and Data Structures, by Loe Feijs |
05-12-2013 |
Arduino and Final State Machines by Peter Peters |
5 |
10-12-2013 |
Object Orientation, by Loe Feijs |
12-12-2013 |
OOCSI (Out of Control for Semantic Interactivity) by Mathias Funk |
6 |
17-12-2013 |
GUI and Interactivity, by Jun Hu |
19-12-2013 |
Serial and Internet (of Things), by Peter Peters |
7 |
07-01-2014 |
Beyond Processing by Jun Hu |
09-01-2014 |
Exhibition of Challenge 2 |
2.1. Week 1
2.1.1. Lecture: Introduction
2.1.2. Workshop: Using Libraries
2.2. Week 2
2.2.1. Lecture: Variables and Flow Control
2.2.2. Workshop: Graphics
2.3. Week 3
2.3.1. Lecture: Arrays and Functions
ArraysAndFunctions.pdf (just slides 1 - 24, the rest comes next week)
ArraysAndFunctions_examples.zip the introductory examples with the turning rectangles
DrawingCreatures.zip the example with the two "birds"
2.3.2. Homework: Arrays and Functions (voluntary!!)
You wanted more homework / exercise to develop your processing skills, here you go. All completely voluntary and optional. Start with the first one, as the other build on top of it. Questions? --> Ask during workshop 03, or email Mathias. Solutions? --> Next week!
Exercise Arrays.1: Initialize a list of 8 balls with colors as strings, and draw all balls on screen at a random location in the color specified.
Exercise Arrays.2: Initialize a list of 8 balls with colors as strings, and draw all balls on scren at a random location in the color specified. Animate the balls so that they bounce off the screen borders, all with different speeds.
Exercise Arrays.3: Initialize a list of 100 balls with colors as strings, and draw all balls on scren at a random location in the color specified. Animate the balls so that they bounce off the screen borders, all with different speeds.
Exercise Functions.1: Initialize a list of 8 balls with colors as strings, and draw all balls on scren at a random location in the color specified. Draw the ball with a function that takes the color of the ball as a parameter.
Exercise Functions.2: Write a function that calls itself, but stops doing that after 5 times. The function should output number of the call every time.
Exercise Functions.3: Write a function that calls itself twice and with every call draws a branch of a tree, so you will get a whole tree with ever shorter branches at the end.
2.3.3. Exhibition of Challenge 1
2.4. Week 4
2.4.1. Lecture: Algorithms and Data Structures
2.4.2. Workshop: Arduino and Final State Machines
ArduinoAndSerialCommunication.pdf (ArduinoAndSerialCommunication.pptx)
Download and install Arduino on your laptop
2.5. Week 5
2.5.1. Lecture: Object Orientation
2.5.2. Workshop:Out of Control for Semantic Interactivity
2.6. Week 6
2.6.1. Lecture: GUI and Interactivity
You need to download and install the controlP5 library for Processing: http://www.sojamo.de/libraries/controlP5/. Notice that if you are using Processing 1.5.1, you have to download and install an earlier version of the controlP5: controlP5-1.5.2.zip from http://code.google.com/p/controlp5/downloads/list.
2.6.2. Workshop:Serial and Internet (of Things)
2.7. Week 7
2.7.1. Lecture: Beyond Processing
From Processing to Java: http://www.eclipse.org
Processing for Arduino: http://wiki.processing.org/w/Android
From Processing to C++: OpenFrameworks: http://www.openframeworks.cc/; http://www.openframeworks.cc/tutorials/
2.7.2. Exhibition of Challenge 2
3. Deliverables
3.1. After Exhibition of Challenge 1
For ALL students:
Attach the deliverables to an email, send it to dg290.submission@gmail.com <dg290 DOT submission AT gmail DOT com>, including:
- ZIP file of the source code from Challenge 1.
- PDF from Challenge 1.
- Written reflection about your development in the first half of the assignment (for example learning points, difficulties, achievements, future steps, ...).
For ID students: Feedback request after Exhibition of Challenge 1, in addition to the deliverables to the above gmail account:
Please send your request ONLY to one of the assigners, according to this RegistrationList.xls Excel sheet or in PDF format RegistrationList.pdf.
Attach all your deliverable to the request. Including:
- ZIP file of the source code from Challenge 1.
- PDF from Challenge 1.
- Written reflection about your development in the first half of the assignment (for example learning points, difficulties, achievements, future steps, ...).
3.2. After the assignment
For ALL students:
Attach the deliverables to an email, send it to dg290.submission@gmail.com <dg290 DOT submission AT gmail DOT com>, including:
- ZIP file of the source code from Challenge 2.
TXT file containing the YouTube link from Challenge 2.
- Written reflection about your development in the entire assignment (max. 2 A4 pages).
For ID students: Feedback request after the assignment, in addition to the deliverables to the above gmail account:
Please send your request ONLY to one of the assigners, according to this RegistrationList.xls Excel sheet or in PDF format RegistrationList.pdf.
Attach all your deliverable to the request. Including:
- ZIP file of the source code from Challenge 2.
TXT file containing the YouTube link from Challenge 2.
- Written reflection about your development in the entire assignment (max. 2 A4 pages).
4. Installing Processing
Download processing. Please make sure you are downloading the latest stable release. There are two versions, one with Java, one without. If you are not sure, download the one with Java.
- For those who know what the JDK is and wants to install Processing along with JDK: You need x32 version of the JDK no matter whether you are running an x32 or x64 system.
If you don't understand what the above comment is about, download the one with Java.
- Create a directory "Programs" on the C: disk, in the root. If "C:\Programs" exists already, skip this step.
- Extract the entire directory to C:\Programs (note, not "C:\Program Files"). if you are reinstalling Processing, remove the entire processing directory first.
- Create a shortcut on your desktop to "Processing.exe" for easy access.
5. Installing Arduino
Download Arduino software;
- Extract the entire directory to C:\Programs (note, not "C:\Program Files"). if you are reinstalling Arduino software, remove the entire arduino directory first.
- Create a shortcut on your desktop to "Arduino.exe" for easy access.
Install necessary Arduino drivers. Follow the instructions in page 23, Chapter 3 of Getting Started With Arduino
If you are installing Arduino on Windows 8, the link below explains shortly how to install drivers for arduino on Windows 8.
http://mytechblog.com/2013/03/install-arduino-drivers-on-windows-8/. (Thanks to Wouter van der Wal for pointing this out)
6. Installing Processing
7. If you have questions or if you need help
- The assigner will announce a help hour during his lecture.
- The assigner will be available during this hour only if one or more of you make an appointment.