Processing
Download
1 / 19

Processing - PowerPoint PPT Presentation


  • 109 Views
  • Uploaded on

Processing. Kosmo Broom info@bykosmo.com 06 52 015 699. today. Who am I What have I done Semester overview First assignment. Who am I. Kosmo not 'Sir', 'Meneer' or 'U' Student IAD (Hardware) Programer. What have I done. Klaver Kollectief Classes in Arduino (in Mexico) PhotoBooth

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Processing' - tam


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Processing

Processing

Kosmo Broom

info@bykosmo.com

06 52 015 699


Today
today

  • Who am I

  • What have I done

  • Semester overview

  • First assignment


Who am i
Who am I

  • Kosmo

    • not 'Sir', 'Meneer' or 'U'

  • Student IAD

  • (Hardware) Programer


What have i done
What have I done

  • Klaver Kollectief

  • Classes in Arduino (in Mexico)

  • PhotoBooth

  • AutoMapping

  • Arduino

  • Build a guitar


Semester overview
Semester overview

  • 10 homework assignments:

    • Every week there will be an assignment to be made for the following class

    • At the beginning of class they will be checked

    • You need to pass at least 8 assignments

  • 2 major assignments

    • 1 assignment before the brake and one after

    • If you are using Processing during your project let me know


Class is for you not me
Class is for you not me

  • Ask questions

  • Be pro active

  • Take away what you need


Online backup
Online backup

  • Processing has a very good base of information

  • www.processing.org


Programming
PROGRAMMING

  • IF

  • ELSE

  • WHILE

  • FOR


Processing

  • if (myWeight < 100) {

    • print(“ You are still within bounds ”);

  • }


Processing

  • if (myWeight < 100) {

    • print(“ You are still within bounds ”);

  • }

  • else{

    • print(“ You might want to think about going to the gym! ”);

  • }


Processing

  • if (myWeight < 100 && myWeight > 40) {

    • print(“ You are still within bounds ”);

  • }

  • else if(myWeight < 40) {

    • print(“ It would be healthy to eat more ”);

  • }

  • else{

    • print(“ You might want to think about going to the gym! ”);

  • }


Processing

  • while (myValue < 10) {

    • myValue++;

  • }


Processing


First assignment
First assignment

  • void setup(){

  • }

  • void draw() {

  • }


Processing

  • void setup(){

    • // set size

    • // set background

    • // set stroke color

  • }

  • void draw() {

    • // draw a line

  • }


Processing

  • void setup(){

    • size(250,250);

    • background(0);

    • Stroke(255);

  • }

  • void draw() {

    • line(0,0,50,50); // make the line end up at the mouse point

  • }


Processing

  • void setup(){

    • size(250,250);

    • background(0);

    • Stroke(255);

  • }

  • void draw() {

    • line(0,0,mouseX,mouseY);

  • }


Questions
Questions

  • What do you need to change in the code so the line will not start in the left top hand corner?

  • How can you get a line from every corner of the screen to meet up with the mouse pointer?


Thanks
Thanks!

By Kosmo Broom