User Tools

Site Tools


This is an old revision of the document!

Day 5 - Friday


  • Object Oriented Programming
  • Mouse and Keyboard Input
  • Finite State Machines
  • Rock, Paper, Scissors
  • Thank you for guest speakers
  • Pixelator
  • Perler Beads
  • Catch Up - Make up day

Class Assignments

  1. Processing: Project - Pick a simulation that will teach me something. YOU MUST WORK WITH YOUR TEAM!!!
    1. Suggestions:
      1. Physics - Get objects to bounce and collide. Use gravity, if possible.
      2. Sieve of Eratosthenes - Show how this method works
      3. Cellular Automata - Show what Cellular Automata is
      4. Make a Game - To make a game, give it interactions and a winning condition (Ludus and Paida).
  2. Github - You can store your processing projects directly there and run them with Processing.js - Read: (Similar to yesterday)
  3. Piskel: Make an animation with Piskel:
    1. Export your file and save the link to the source in a blog post!
    2. You can try to use the art in your simulation or game
  4. Perler Beads: Make a sprite with perler beads


  • Blog Post: Every project should have a post. If you made 3 projects, then there are 3 posts. Have images for what you did. Link to the website online so people can see each program.
  • Blog Post: Make a post about all the artwork you did.
  • Blog Post: What is design. Why is it important? How to you make a good design document?
  • Improve your past work: Double check your work, and make sure your blog is complete. Make sure you have completed all blogs. Finish anything you didn't get to do today. Improve anything that you can! Lots of pictures!!!
  • Blog Post: Game Review - But that was yesterday -

Note: From now on ALL game reviews must address Ludus, Paida, and Narrative.

Feedback to class

  • Better design documents
  • Work better in teams
  • Be better at asking for help
  • Be more willing to help
  • Participate and take more risks
  • Be more social with the guest speakers
color c = color(0);
float x = 0;
float y = 100;
float speed = 1;
void setup() {
void draw() {
void move() {
  x = x + speed;
  if (x > width) {
    x = 0;
void display() {
// Example: Two Car objects
Car myCar1;
Car myCar2; // Two objects!
void setup() {
  // Parameters go inside the parentheses when the object is constructed.
  myCar1 = new Car(color(255,0,0),0,100,2); 
  myCar2 = new Car(color(0,0,255),0,10,1);
void draw() {
// Even though there are multiple objects, we still only need one class. 
// No matter how many cookies we make, only one cookie cutter is needed.
class Car { 
  color c;
  float xpos;
  float ypos;
  float xspeed;
  // The Constructor is defined with arguments.
  Car(color tempC, float tempXpos, float tempYpos, float tempXspeed) { 
    c = tempC;
    xpos = tempXpos;
    ypos = tempYpos;
    xspeed = tempXspeed;
  void display() {
  void drive() {
    xpos = xpos + xspeed;
    if (xpos > width) {
      xpos = 0;
int x, y;
void setup() 
  size (500,500);
void draw()
  if ((key == 'd') && (keyPressed))
  else if (key == 's')
/soe/sherol/.html/teaching/data/attic/spcs/2015/day5.1436495079.txt.gz · Last modified: 2015/07/09 19:24 by ffpaladin