CS 1025 01 - Week #8 (Oct 14, 16, 18)



Monday, October 14th



  1. TEST ON MONDAY - ONE WEEK FROM TODAY!

    VIP: Study Guide/Outline/Topics and the Practice Questions from old HWs and past tests.


  2. Assignment due on FRIDAY, October 18th: Music, Even and Odd Turtles, Chemistry & Physics Maxwell's Demon Gaslab NetLogo model...

    due anytime on Wednesday, October 16th, 2013
    or anytime on FRIDAY October 18th, 2013.

  3. GasLab Maxwells Demon Netlogo Chemistry/Physics model...

  4. Illustrates EVEN and ODD turtles and ifelse and remainder: NetLogo application with slowWalking:

    Eight Turtles, but the odd turtles (1, 3, 5, 7) walk farther than the even turtles (0, 2, 4, and 6).

    ifelse remainder who 2 = 0 
    [
       set shape "airplane"
       set color white 
       slowWalk 8                         ;; Even turtles move 8 units
    ]
    [
       set color blue
       set pen-size 4
       set size 2                         ;; Odd turtles doing DIFFERENT
       set shape "bug"                    ;; things, assuming DIFFERENT
       slowWalk 14                        ;; shapes, leaving WIDER trail...
    ]                                  
      
       THERE ARE LOTS MORE EXAMPLES ON WEEK 1 to WEEK 7 pages for 
       having EVEN and ODD turtles do something different,
       such as SHAPE, COLOR, pen-size, distance travelled FD, etc.
    
  5. See Week #03: Friday, September 13th for more examples of EVEN and ODD turtles: Airplanes flying and FISH swimming. Doing circles.

Wednesday, October 16th


  1. NEW 4:40 p.m. Oct 16th: MUSIC and the musical notes...

    1. Noteworthy that F A C E are the FOUR S P A C E s.
    2. E G B D F - Every Good Boy Deserves Favour. The MOODY BLUES album has some good LINES (lyrics) and songs.
    3. Playlist: The Story in your Eyes - sounds and sights of autumn.
     E G B D F   <----- The lines on the Treble Clef bottom to top
      F A C E    <----- The spaces from bottom to top
    
                ------------F----   F  FAVOUR           ------------   77
                            E                        E                 76
                ------------D----   D  DESERVES         ------------   74
                            C                        C                 72  C
                ------------B----   B  BOY              ------------   71
                            A                        A                 69
                ------------G----   G  GOOD             ------------   67
                            F                        F                 65
                ------------E----   E  EVERY            -------------  64
                                                              D        62
                                                            --C--      60  C
                                              
    

  2. NEW 4:40 p.m. Oct 16th: Unfolding FLOWER petals with EVEN and ODD turtles. Ideas and techniques and sample code.

  3. NEW 10 a.m. Columbus Day: 18 different Quicktime movies of Even and ODD NetLogo turtle variations used as footage for Adobe After Effects. Note the colors, the pen width changes, the shape changes, etc.

  4. Music with Netlogo. See week07F2013.html for Music links and code and examples.


Friday, October 18th


  1. TEST ON MONDAY - See and utilize the Study Guide/Outline/Topics and the Practice Questions from old HWs and past tests.

  2. Music and NetLogo review...
    60, 62, 64, 65, 67, 69, 71, 72 = DO, RAY, MI, FA, SO, LA, TI, DO = C, D, E, F, G, A, B, C