• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

BMS Processing Class

A Course23.com Production

"Stop, Pause, and Think..." -- Ms. Elwell
"Take your time, it isn't a race" -- Mr. Helmke

  • Home
  • Graphing and Color
    • Graphing Shapes
      • Activity 1
      • Activity 2
    • Color (R,G,B) and Grey Scale
      • Activity 3
      • Activity 4
  • Code and Sketches
    • Parts of Code
      • Activity 5
    • Your Code & OpenProcessing Sketches
      • Activity 6
      • Activity 7
  • Variables, etc
    • Variables
      • Activity pre8 and 8
      • Activity 8.1
      • Activity 9
      • Activity 10
      • Activity 11
      • Activity 11.1
    • Operator Precedence
      • Activity 12
      • Activity 13
    • Random
      • Activity 14
      • Activity 15
  • Conditionals – If, Else, Else If
  • Resources

Activity 7

Create a new Open Processing sketch.

We will be creating open processing accounts in class.  I will assign a link so that you are in my class.

Go to your account on www.openprocessing.org, create a new sketch and type in the code for your creature and see if it will run.

At the beginning of every NEW SKETCH,  Remember to delete the background out of function setup and delete the ellipse(mouseX, mouseY, 10, 10) from function draw.

SAVE, NAME and SUBMIT your sketch and then keep working.  Periodically, click on SAVE to save your updates.  Save your sketch and replace “My Sketch” with “MyCreature_(name)__” with “name” replaced with the name of your creature.

Then you will be ready to type in YOUR code inside the curly brackets { } of function draw() {   }

Make sure you put your code inside the draw function (look for function draw() and write between the curly brackets).

If it doesn’t run, try to determine what is wrong. Don’t forget to look at the “Console” to check for errors reported there.  And remember to check your original graph drawing with what you wrote and see if you wrote your code properly.  Your graph drawing will be correct.

 

Go back to:  OpenProcessing Sketches

Primary Sidebar

Required Reading:

Course Coding Standards

Copyright © 2016–2021 Chris Elwell/Michael Helmke · This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License · Log in