Moving Image Studio One – first midterm march 27 09

March 24, 2009 | No Comments
Share |

two hours friday march 27

1. Cord system

2. drawing loop – animation

shown a sequence of images

frame one frame two frame 3 than moves back

what code makes this sequence

3. putting in a question that will be open ended

both the planning stage and the finale code fir a sketch

gives picture description

what variables needed what needs to be done

some code – whats missing

what do you need get it up and running

questions with structure so you have idea of where you are aiming at

4. arrays

deal with an array

no 9001

color presentation

5. opposite to picture what code

code draw pictures, wards whatever to say what the code will do

interpretation of the code

end

one page of questions last page – random questions ( review everything, should have been paying attention, random stuff, color presentation,

weird questions

in the CMYK color space what does the k stand for

K what does it stand for

kolor

TOPIC

branching

know how to trace through code

x=5;

y=7;

if (x>y)

{ x= x -1 ;

y = y+1;

}

else{

y=y-2;

x=x+2;

}

repeating pattern more about a animation

each stage draw a circle how it will look on the screen

functions

something she wants that works a particular way

draw function and outline of other functions to make draw work

you got to fill in the functions

classes

pieces of classes

API fair game topics

color section

background

color mode

fill no fill no stroke stroke

alpha  – returns a floating point number

blue – returns blue component

red

green

brightness

color

no typography

2D primitives

arc()

ellipse()

line()

point()

quad()

rect()

triangle()

Attributes

ellipseMode()

noSmooth()

rectMode()

smooth()

strokeWeight()

INPUT

Mouse

mouseButton

mouseClicked()

mouseDragged()

mouseMoved()

mousePressed()

mousePressed

mouseReleased()

mouseX

mouseY

pmouseX

pmouseY

Keyboard

key

keyCode

keyPressed()

keyPressed

keyReleased()

keyTyped()

Structure

[] (array access)

= (assign)

class

, (comma)

// (comment)

{} (curly braces)

/** */ (doc comment)

. (dot)

draw()

false

final

loop()

/* */ (multiline comment)

new

noLoop()

null

() (parentheses)

return

; (semicolon)

setup()

size()

static

super

this

true

void

cursor()

focused

frameCount

frameRate()

frameRate

height

noCursor()

online

screen

width

boolean

byte

char

color

double

float

int

long

Array

String

int()

else

if

&& (logical AND)

! (logical NOT)

|| (logical OR)

KNOW THE COLOR COMPONENTS

for rgb and hsb

colorMode(HSB, 360)

fill(180, 360, 360)

what color is this

know the fucken complements of colors

March 24, 2009 | No Comments
Share |

Leave a Reply