Difference between revisions of "IB Computer Science 1"

From WLCS
Line 9: Line 9:
 
** +=, -=, *=, /=
 
** +=, -=, *=, /=
 
** a += b is equivalent to a = a + b (allows for changing the variable in place)
 
** a += b is equivalent to a = a + b (allows for changing the variable in place)
 +
* Processing: Displaying Text
 +
** text(str, x, y)
 +
** textSize(int)
 
* Complete and demo [https://docs.google.com/document/d/1xRSA_Ti8l5002jcAftcUtCTdujCojghzoTpUZwJvHQ4/edit?usp=sharing Animation: Bouncing Ball]
 
* Complete and demo [https://docs.google.com/document/d/1xRSA_Ti8l5002jcAftcUtCTdujCojghzoTpUZwJvHQ4/edit?usp=sharing Animation: Bouncing Ball]
 +
* Begin working on [https://docs.google.com/document/d/1NyUifJyiIxKupLXLLlbIcLB4SUCB_mLQs4GyhSaMSIw/edit?usp=sharing Project: Ping]
  
 
== Wednesday - Thurdsay (10/12/16 - 10/13/16) ==
 
== Wednesday - Thurdsay (10/12/16 - 10/13/16) ==

Revision as of 01:19, 14 October 2016

Friday - Monday (10/14/16 - 10/17/16)

Agenda:

Wednesday - Thurdsay (10/12/16 - 10/13/16)

Agenda:

Friday - Tuesday (10/7/16 - 10/11/16)

Agenda:

  • Complete and submit Processing My First Animation
  • Animation Practice
    1. Create a new Processing sketchbook (program) named MovingHouse
    2. Copy and paste your drawHouse() function
    3. Write the rest of the code to make the house follow the mouse
    4. Try creating other functions to draw other pictures (e.g. smiley) and make them follow the mouse
  • Work on Processing Project: Simple Paint

Wednesday - Thursday (10/5/16 - 10/6/16)

Warmup:

  1. Complete Warmup-1: monkey_trouble (try not to look at the solution)
  2. Challenge: Complete the warmup in as few lines as possible (1 line of code is possible)

Agenda:

  • Complete and demo Processing House Assignment
  • Introduction to Processing Animations
    • setup()
    • draw()
  • Complete and submit Processing My First Animation
  • Animation Practice
    1. Create a new Processing sketchbook (program) named MovingHouse
    2. Copy and paste your drawHouse() function
    3. Write the rest of the code to make the house follow the mouse
    4. Try creating other functions to draw other pictures (e.g. smiley) and make them follow the mouse
  • Work on Processing Project: Simple Paint

Monday - Tuesday (10/3/16 - 10/4/16)

Warmup:

  1. Create an account on CodingBat
  2. Complete Warmup-1: sleep_in (try not to look at the solution)
  3. Challenge: Complete the warmup in as few lines as possible (1 line of code is possible)

Agenda:

Archives