How to use a SLIDER for MUSIC TEMPO.
Netlogo is also available at most of the computer labs on the UNI campus, including all CNS labs and all of the SCC (Student Computer Center) labs like the Library, Union, Redeker, Towers, Lawther, etc.
Twinkle Twinkle Little Star song consists of only quarter notes and half notes. It starts on note C, which is 60 for NetLogo.
60, a deer, a female deer. 62, a drop of golden sun. 64, a name I call myself 65, a long, long way to run 67, a needle pulling thread 69, a note to follow 67 71, I drink with jam and bread That will bring us back to 72...oh oh ohThe magificent seven: Do-re-mi-fa-so-la-ti.
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
Each patch has a certain pcolor (think pcolor = P_atch_COLOR). Each patch has an x coordinate (pxcor) and a y coordinate (pycor). TO checkerBoard ask patches [ ifelse remainder (pxcor + pycor) 2 = 0 [ set pcolor white ] [ set pcolor yellow ] ] END
ifelse remainder who 2 = 0 [ slowWalk 8 ;; Even turtles move 8 units ] [ slowWalk sqrt (8 ^ 2 + 8 ^ 2) ;; Odd turtles move square root of 128 units ] ;; Odd turtle move about 11.3 units 11.31371 ^ 2 = 128.0000339641 8 squared plus 8 squared = 64 + 64 = 128 square root (128) = 11.31371
NOTE: This is item #3 on your assignment two. SEE the YELLOW HANDOUT. Read pages 49-59 of the Turtles, Termites, and Traffic Jams Read pages 49-59 of the Turtles, Termites, and Traffic Jams textbook. Turn in one-half page of thoughts, notes, confusions, insights, reflections about your reading to prove that you read it and engaged with the material. You may write down and quote some sentences from the material.
In the Noteworthy M U S I C: We'll right mouse button click on a link and download the NetLogo file so we can try it out and hear the music while looking at the code.