@@ -391,17 +391,50 @@ end
391391 <button x =" 5" y =" 65" height =" 35" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 66" display =" setup" >setup
392392sound:play-note "TRUMPET" 60 62 2
393393wait 2</button >
394- <switch x =" 5" y =" 105" height =" 37" on =" true" variable =" sound?" width =" 95" display =" sound?" ></switch >
395- <button x =" 105" y =" 105" height =" 35" disableUntilTicks =" true" forever =" true" kind =" Observer" width =" 105" >go-no-evolve</button >
396- <slider x =" 5" step =" 1" y =" 200" max =" 200" width =" 150" display =" hit-limit" height =" 50" min =" 50" direction =" Horizontal" default =" 120.0" variable =" hit-limit" ></slider >
397- <slider x =" 5" step =" 1" y =" 255" max =" 10" width =" 150" display =" num-mutations" height =" 50" min =" 1" direction =" Horizontal" default =" 1.0" variable =" num-mutations" ></slider >
398- <slider x =" 160" step =" 0.01" y =" 200" max =" 1" width =" 170" display =" hit-density-modifier" height =" 50" min =" 0" direction =" Horizontal" default =" 0.5" variable =" hit-density-modifier" ></slider >
399- <slider x =" 160" step =" 1" y =" 255" max =" 8" width =" 170" display =" mutation-strength" height =" 50" min =" 0" direction =" Horizontal" default =" 1.0" variable =" mutation-strength" ></slider >
400394 <switch x =" 180" y =" 10" height =" 50" on =" true" variable =" shuffle-parts?" width =" 150" display =" shuffle-parts?" ></switch >
401- <slider x =" 5" step =" 1" y =" 145" max =" 200" width =" 325" display =" tempo-bpm" height =" 50" min =" 40" direction =" Horizontal" default =" 135.0" variable =" tempo-bpm" ></slider >
402395 <button x =" 215" y =" 65" height =" 35" disableUntilTicks =" true" forever =" false" kind =" Observer" width =" 115" display =" go-once" >repeat num-chromosomes * 4 [ go ]</button >
403- <button x =" 215" y =" 105" height =" 35" disableUntilTicks =" true" forever =" true" kind =" Observer" width =" 115" display =" go" >go</button >
404- <chooser x =" 55" y =" 310" height =" 60" variable =" soloer" current =" 0" width =" 100" display =" soloer" >
396+ <monitor x =" 690" precision =" 17" y =" 112" height =" 60" fontSize =" 11" width =" 100" >generations</monitor >
397+ <monitor x =" 690" precision =" 17" y =" 175" height =" 60" fontSize =" 11" width =" 100" display =" density" >precision (count patches with [(pcolor != black) and (pcolor != yellow)] / (count patches)) 3</monitor >
398+ <slider x =" 5" step =" 1" y =" 150" max =" 200" width =" 325" display =" tempo-bpm" height =" 50" min =" 40" direction =" Horizontal" default =" 135.0" variable =" tempo-bpm" ></slider >
399+ <plot x =" 10" autoPlotX =" true" yMax =" 1.0" autoPlotY =" true" yAxis =" Fitness" y =" 380" xMin =" 0.0" height =" 240" legend =" true" xMax =" 1.0" yMin =" 0.0" width =" 280" xAxis =" Ticks" display =" Average Fitness" >
400+ <setup ></setup >
401+ <update ></update >
402+ <pen interval =" 1.0" mode =" 0" display =" all" color =" -16777216" legend =" true" >
403+ <setup ></setup >
404+ <update >plot mean [fitness] of turtles</update >
405+ </pen >
406+ <pen interval =" 1.0" mode =" 0" display =" low" color =" -2674135" legend =" true" >
407+ <setup ></setup >
408+ <update >plot mean [fitness] of low-drums</update >
409+ </pen >
410+ <pen interval =" 1.0" mode =" 0" display =" med" color =" -10899396" legend =" true" >
411+ <setup ></setup >
412+ <update >plot mean [fitness] of med-drums</update >
413+ </pen >
414+ <pen interval =" 1.0" mode =" 0" display =" high" color =" -13345367" legend =" true" >
415+ <setup ></setup >
416+ <update >plot mean [fitness] of high-drums</update >
417+ </pen >
418+ </plot >
419+ <plot x =" 295" autoPlotX =" true" yMax =" 10.0" autoPlotY =" true" yAxis =" Number of Hits" y =" 380" xMin =" 0.0" height =" 240" legend =" false" xMax =" 10.0" yMin =" 0.0" width =" 250" xAxis =" Drummer" display =" Hits Since Evolution" >
420+ <setup ></setup >
421+ <update ></update >
422+ <pen interval =" 1.0" mode =" 1" display =" low" color =" -2674135" legend =" true" >
423+ <setup ></setup >
424+ <update >plot-pen-reset
425+ ask low-drums [ plotxy who hits-since-evolve ]</update >
426+ </pen >
427+ <pen interval =" 1.0" mode =" 1" display =" pen-1" color =" -10899396" legend =" true" >
428+ <setup ></setup >
429+ <update >plot-pen-reset ask med-drums [ plotxy who hits-since-evolve ]</update >
430+ </pen >
431+ <pen interval =" 1.0" mode =" 1" display =" pen-2" color =" -13345367" legend =" true" >
432+ <setup ></setup >
433+ <update >plot-pen-reset ask high-drums [ plotxy who hits-since-evolve ]</update >
434+ </pen >
435+ </plot >
436+ <switch x =" 160" y =" 315" height =" 60" on =" false" variable =" solo?" width =" 100" display =" solo?" ></switch >
437+ <chooser x =" 55" y =" 315" height =" 60" variable =" soloer" current =" 0" width =" 100" display =" soloer" >
405438 <choice type =" double" value =" 0.0" ></choice >
406439 <choice type =" double" value =" 1.0" ></choice >
407440 <choice type =" double" value =" 2.0" ></choice >
@@ -419,8 +452,11 @@ wait 2</button>
419452 <choice type =" double" value =" 14.0" ></choice >
420453 <choice type =" double" value =" 15.0" ></choice >
421454 </chooser >
422- <switch x =" 160" y =" 310" height =" 60" on =" false" variable =" solo?" width =" 100" display =" solo?" ></switch >
423- <plot x =" 550" autoPlotX =" true" yMax =" 10.0" autoPlotY =" true" yAxis =" Number of Hits" y =" 375" xMin =" 0.0" height =" 240" legend =" false" xMax =" 16.0" yMin =" 0.0" width =" 315" xAxis =" Drummer" display =" Hits per Drummer (total)" >
455+ <slider x =" 160" step =" 1" y =" 260" max =" 8" width =" 170" display =" mutation-strength" height =" 50" min =" 0" direction =" Horizontal" default =" 1.0" variable =" mutation-strength" ></slider >
456+ <slider x =" 160" step =" 0.01" y =" 205" max =" 1" width =" 170" display =" hit-density-modifier" height =" 50" min =" 0" direction =" Horizontal" default =" 0.5" variable =" hit-density-modifier" ></slider >
457+ <slider x =" 5" step =" 1" y =" 260" max =" 10" width =" 150" display =" num-mutations" height =" 50" min =" 1" direction =" Horizontal" default =" 1.0" variable =" num-mutations" ></slider >
458+ <slider x =" 5" step =" 1" y =" 205" max =" 200" width =" 150" display =" hit-limit" height =" 50" min =" 50" direction =" Horizontal" default =" 120.0" variable =" hit-limit" ></slider >
459+ <plot x =" 550" autoPlotX =" true" yMax =" 10.0" autoPlotY =" true" yAxis =" Number of Hits" y =" 380" xMin =" 0.0" height =" 240" legend =" false" xMax =" 16.0" yMin =" 0.0" width =" 315" xAxis =" Drummer" display =" Hits per Drummer (total)" >
424460 <setup ></setup >
425461 <update ></update >
426462 <pen interval =" 1.0" mode =" 1" display =" low" color =" -2674135" legend =" true" >
@@ -439,45 +475,9 @@ ask med-drums [plotxy who hits]</update>
439475ask high-drums [plotxy who hits]</update >
440476 </pen >
441477 </plot >
442- <plot x =" 295" autoPlotX =" true" yMax =" 10.0" autoPlotY =" true" yAxis =" Number of Hits" y =" 375" xMin =" 0.0" height =" 240" legend =" false" xMax =" 10.0" yMin =" 0.0" width =" 250" xAxis =" Drummer" display =" Hits Since Evolution" >
443- <setup ></setup >
444- <update ></update >
445- <pen interval =" 1.0" mode =" 1" display =" low" color =" -2674135" legend =" true" >
446- <setup ></setup >
447- <update >plot-pen-reset
448- ask low-drums [ plotxy who hits-since-evolve ]</update >
449- </pen >
450- <pen interval =" 1.0" mode =" 1" display =" pen-1" color =" -10899396" legend =" true" >
451- <setup ></setup >
452- <update >plot-pen-reset ask med-drums [ plotxy who hits-since-evolve ]</update >
453- </pen >
454- <pen interval =" 1.0" mode =" 1" display =" pen-2" color =" -13345367" legend =" true" >
455- <setup ></setup >
456- <update >plot-pen-reset ask high-drums [ plotxy who hits-since-evolve ]</update >
457- </pen >
458- </plot >
459- <plot x =" 10" autoPlotX =" true" yMax =" 1.0" autoPlotY =" true" yAxis =" Fitness" y =" 375" xMin =" 0.0" height =" 240" legend =" true" xMax =" 1.0" yMin =" 0.0" width =" 280" xAxis =" Ticks" display =" Average Fitness" >
460- <setup ></setup >
461- <update ></update >
462- <pen interval =" 1.0" mode =" 0" display =" all" color =" -16777216" legend =" true" >
463- <setup ></setup >
464- <update >plot mean [fitness] of turtles</update >
465- </pen >
466- <pen interval =" 1.0" mode =" 0" display =" low" color =" -2674135" legend =" true" >
467- <setup ></setup >
468- <update >plot mean [fitness] of low-drums</update >
469- </pen >
470- <pen interval =" 1.0" mode =" 0" display =" med" color =" -10899396" legend =" true" >
471- <setup ></setup >
472- <update >plot mean [fitness] of med-drums</update >
473- </pen >
474- <pen interval =" 1.0" mode =" 0" display =" high" color =" -13345367" legend =" true" >
475- <setup ></setup >
476- <update >plot mean [fitness] of high-drums</update >
477- </pen >
478- </plot >
479- <monitor x =" 690" precision =" 17" y =" 112" height =" 60" fontSize =" 11" width =" 100" >generations</monitor >
480- <monitor x =" 690" precision =" 17" y =" 175" height =" 60" fontSize =" 11" width =" 100" display =" density" >precision (count patches with [(pcolor != black) and (pcolor != yellow)] / (count patches)) 3</monitor >
478+ <switch x =" 5" y =" 105" height =" 40" on =" true" variable =" sound?" width =" 95" display =" sound?" ></switch >
479+ <button x =" 105" y =" 105" height =" 40" disableUntilTicks =" true" forever =" true" kind =" Observer" width =" 105" >go-no-evolve</button >
480+ <button x =" 215" y =" 105" height =" 40" disableUntilTicks =" true" forever =" true" kind =" Observer" width =" 115" display =" go" >go</button >
481481 </widgets >
482482 <info ><![CDATA[ ## WHAT IS IT?
483483
0 commit comments