Work 22: 11/7

posted Nov 8, 2018, 11:32 AM by JonAlf Dyrland-Weaver   [ updated Nov 8, 2018, 11:36 AM ]
On your own, but with consultation of your neighbors when needed, try to recreate the procedures in the following NetLogo program: http://homer.stuy.edu/~dw/netlogo/monitors.html
  1. Phase 1: TO BE DONE BEFORE ANY CODING!
    • Test the buttons & slider out
      • ca is just there for convenience.
    • Using a Key To Success™, answer the following questions:
      • What are the monitors showing?
        • If the monitors all use the same procedure, how would that work?
      • What buttons does the slider influence?
      • How does the slider behave? Why?
      • What is the difference between colorRandomShade and colorRandomShade2?
  2. Phase 2:
    1. Use the info you gathered in Phase 1 to write your own version of the program.
    2. You should have 4 new procedures (not including colorRandom, which you should've done for the previous assignment).
      1. One should report the value used for the monitors.
      2. Separate procedures for colorRandomShade, colorRandomShade2 and gradient.
        1. Remember, slider values should be passed as arguments
    3. Include your answers to the questions from phase 1 as comments at the top of your code.
      1. Like racket, ; is the NetLogo comment operator.
Submit this as monitors
Comments