CS 1025 01 - Week #4 (Sep 15-19)


Monday, September 15th


  1. NetLogo turtle graphics and x-y position indicator fun.

  2. In class exercise: F A C E and E G B D F and the 15 notes (14 quarter notes and 1 half note). An exercise that goes from C to shining C. C = 60 is the start note. C = 72 = 60 + 12 is the final note, the half note. It receives twice as many counts, so we wait twice as long. A half-note is the same as two quarter-notes.

  3. In class exercise: 15 C major scale notes exercise solution. Right mouse button click to download and run it in NetLOGO, or left mouse button click to just look at the NetLOGO code (while ignoring the portion that is definition and location of Buttons, etc).

  4. See WEEK #3 resources, especially Wednesday 09/10/2014 links to MUSIC examples.

    The magificent seven: Do-re-mi-fa-so-la-ti.

    60  C  Doe        60, a deer, a female deer.                
    62  D  Ray        62, a drop of golden sun.
    64  E  Mi         64, a name I call myself
    65  F  Fa         65, a long, long way to run
    67  G  So         67, a needle pulling thread
    69  A  La         69, a note to follow 67
    71  B  Ti         71, I drink with jam and bread
    72  C  Do         That will bring us back to 72...oh oh oh
     
    When you read you begin with A-B-C
    When you count you begin with 1-2-3
    When you sing you begin with do-re-mi
    
    Do-re-mi                                         60 62 64
    The first three notes just happen to be
    Do-re-mi                                         60 62 64
    
    

Wednesday, September 17th


  1. NetLOGO Assignment due anytime today:

    Send your .nlogo NetLOGO files for #1 and #3 as attachments to jacobson@cs.uni.edu with SUBJECT: NetLOGO turtles assignment.

    GasLab Maxwells Demon answers to #2 could also be an attached file
              OR have your answers typed in as part of the body of the email note you send
              OR you are welcome to turn in a hard copy of #2 Maxwells Demon answers in class on Wednesday morning, if you wish to submit that way.

  2. Gravity and Flash: Modeling the effect of gravity.

  3. Getting the ball to bounce. physicsBounce.txt...

  4. The Flash application: GravityWithBounce.fla to look at and use if needed.

  5. The SHODOR Data Flyer tool.

  6. Adobe Flash Bouncing Ball for comparing Ease In and Ease Out and no easing...

  7. Microsoft Excel slope for Classic Tween without Ease In and with Ease In.

    Without Easing and With Ease In data for the Data Flyer tool.
    Animation with No Ease In... Animated to Ease In at 100% Flash custom setting...

  8. Finding the slope of a line: Rise over the Run. It is wise to remember the rise is the y's. The runner looks like an x, perhaps.

  9. Plot this set of numbers (from Maya 3D Graphics planet orbit animation).
     1   0
     2   0.482
     3   1.9
     4   4.213
     5   7.379
     6  11.356
     7  16.103
     8  21.578
    
    Here is the absolutely best fitting linear equation y = mx + b, for the
    above data.  The slope of the straight line is m and the intercept is b.
    
                 When x is equal to 0, the equation becomes y = m*0 + b, or
                                                            y = 0 + b = b.
    
      y = f(x) = 3.104 * x - 6.090  or  y = 3.1 * x - 6.1
    
    The best CURVE fitting quadratic equation for the above set of 
    8 points, i.e. (x, y) pairs is:
    
        f(x)  =  y = 0.416 * x*x  -  0.641 * x  +  0.152
         
                              2
           or    y  =  0.416 x   -  0.641 x  +  0.152
    

    What we did in class: Right mouse button click to download the SuperSundayTripleEve.nlogo NetLogo file if you want to play with it and study the code.

...