CS 1025 01 - Week #3 (Jan 28-30)


Tuesday, January 28th


  1. Turtles, Termites, Traffic Jams assignment.
    Was due today. Extended to THURSDAY for those who need it due to weather, etc.

  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 you missed class or had trouble with the details during class.

  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...


Thursday, January 30th


  1. 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.

  2. 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
    

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

    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.

  4. Data Flyer Slope Intercept Squares: Assignment due Friday, February 7th.

    TO: jacobson@cs.uni.edu ... SUBJECT: Data Flyer y = mx + b

    46	55
    50	55
    48	59
    45	56
    31	68
    45	63
    50	53
    18	79
    28	72
    24	72
    34	68
    20	71
    28	72
    13	82
    13	81
    
...