@@ -160,38 +160,38 @@ end
160160; See Info tab for full copyright and license.]]> </code >
161161 <widgets >
162162 <view x =" 371" wrappingAllowedX =" true" y =" 10" frameRate =" 30.0" minPycor =" 0" height =" 404" showTickCounter =" true" patchSize =" 4.0" fontSize =" 10" wrappingAllowedY =" true" width =" 404" tickCounterLabel =" ticks" maxPycor =" 99" updateMode =" 1" maxPxcor =" 99" minPxcor =" 0" ></view >
163- <slider x =" 14" step =" 1" y =" 30" max =" 500" display =" bug-count" height =" 33" min =" 1" direction =" Horizontal" default =" 100.0" variable =" bug-count" units =" bugs" width =" 262" sizeVersion =" 0" ></slider >
164- <button x =" 27" y =" 177" height =" 33" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 69" sizeVersion =" 0" >setup</button >
165- <button x =" 98" y =" 177" height =" 33" disableUntilTicks =" true" forever =" true" kind =" Observer" width =" 68" sizeVersion =" 0" >go</button >
166- <slider x =" 164" step =" 0.01" y =" 236" max =" 1" display =" evaporation-rate" height =" 33" min =" 0" direction =" Horizontal" default =" 0.01" variable =" evaporation-rate" width =" 193" sizeVersion =" 0" ></slider >
167- <slider x =" 164" step =" 0.1" y =" 270" max =" 1" display =" diffusion-rate" height =" 33" min =" 0" direction =" Horizontal" default =" 0.9" variable =" diffusion-rate" width =" 193" sizeVersion =" 0" ></slider >
168- <slider x =" 164" step =" 1.0" y =" 305" max =" 100" display =" random-move-chance" height =" 33" min =" 0" direction =" Horizontal" default =" 0.0" variable =" random-move-chance" units =" %" width =" 193" sizeVersion =" 0" ></slider >
169- <plot x =" 14" autoPlotX =" true" yMax =" 10.0" autoPlotY =" true" yAxis =" unhappiness" y =" 354" xMin =" 0.0" height =" 159" legend =" false" xMax =" 100.0" yMin =" 0.0" xAxis =" time" display =" Avg. Bug Unhappiness" width =" 344" sizeVersion =" 0" >
163+ <slider x =" 14" step =" 1" y =" 30" max =" 500" width =" 262" display =" bug-count" height =" 50" min =" 1" direction =" Horizontal" default =" 100.0" variable =" bug-count" units =" bugs" ></slider >
164+ <button x =" 27" y =" 228" height =" 35" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 69" >setup</button >
165+ <button x =" 98" y =" 228" height =" 35" disableUntilTicks =" true" forever =" true" kind =" Observer" width =" 68" >go</button >
166+ <slider x =" 164" step =" 0.01" y =" 289" max =" 1" width =" 193" display =" evaporation-rate" height =" 50" min =" 0" direction =" Horizontal" default =" 0.01" variable =" evaporation-rate" ></slider >
167+ <slider x =" 164" step =" 0.1" y =" 340" max =" 1" width =" 193" display =" diffusion-rate" height =" 50" min =" 0" direction =" Horizontal" default =" 0.9" variable =" diffusion-rate" ></slider >
168+ <slider x =" 164" step =" 1.0" y =" 392" max =" 100" width =" 193" display =" random-move-chance" height =" 50" min =" 0" direction =" Horizontal" default =" 0.0" variable =" random-move-chance" units =" %" ></slider >
169+ <slider x =" 14" step =" 1" y =" 86" max =" 200" width =" 172" display =" min-ideal-temp" height =" 50" min =" 0" direction =" Horizontal" default =" 10.0" variable =" min-ideal-temp" ></slider >
170+ <slider x =" 189" step =" 1" y =" 142" max =" 100" width =" 173" display =" max-output-heat" height =" 50" min =" 0" direction =" Horizontal" default =" 25.0" variable =" max-output-heat" ></slider >
171+ <slider x =" 189" step =" 1" y =" 86" max =" 100" width =" 173" display =" min-output-heat" height =" 50" min =" 0" direction =" Horizontal" default =" 5.0" variable =" min-output-heat" ></slider >
172+ <button x =" 179" y =" 228" height =" 35" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 92" >deep-freeze</button >
173+ <button x =" 274" y =" 228" height =" 35" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 88" >heat-up</button >
174+ <note x =" 10" y =" 10" backgroundDark =" 0" fontSize =" 11" width =" 150" markdown =" false" height =" 18" textColorDark =" -1" textColorLight =" -16777216" backgroundLight =" 0" >Initial settings for bugs</note >
175+ <note x =" 13" y =" 283" backgroundDark =" 0" fontSize =" 11" width =" 127" markdown =" false" height =" 28" textColorDark =" -1" textColorLight =" -16777216" backgroundLight =" 0" >Other parameters</note >
176+ <note x =" 12" y =" 207" backgroundDark =" 0" fontSize =" 11" width =" 150" markdown =" false" height =" 18" textColorDark =" -1" textColorLight =" -16777216" backgroundLight =" 0" >Actions</note >
177+ <note x =" 12" y =" 304" backgroundDark =" 0" fontSize =" 11" width =" 141" markdown =" false" height =" 29" textColorDark =" -1" textColorLight =" -16777216" backgroundLight =" 0" >(OK to change
178+ during run)</note >
179+ <note x =" 376" y =" 429" backgroundDark =" 0" fontSize =" 11" width =" 83" markdown =" false" height =" 30" textColorDark =" -1" textColorLight =" -16777216" backgroundLight =" 0" >Color bug by:</note >
180+ <button x =" 694" y =" 457" height =" 35" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 137" >reset-perspective</button >
181+ <button x =" 573" y =" 459" height =" 35" disableUntilTicks =" true" forever =" false" kind =" Observer" width =" 118" display =" watch happiest" >watch min-one-of turtles [ unhappiness ]</button >
182+ <button x =" 462" y =" 459" height =" 35" disableUntilTicks =" true" forever =" false" kind =" Observer" width =" 107" display =" watch saddest" >watch max-one-of turtles [ unhappiness ]</button >
183+ <button x =" 573" y =" 421" height =" 35" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 116" display =" happiness" >set color-by-unhappiness? true</button >
184+ <button x =" 462" y =" 421" height =" 35" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 106" display =" ideal-temp" >set color-by-unhappiness? false
185+ ask turtles [ color-by-ideal-temp ]</button >
186+ <plot x =" 787" autoPlotX =" true" yMax =" 10.0" autoPlotY =" true" yAxis =" unhappiness" y =" 10" xMin =" 0.0" height =" 235" legend =" false" xMax =" 100.0" yMin =" 0.0" width =" 371" xAxis =" time" display =" Avg. Bug Unhappiness" >
170187 <setup ></setup >
171188 <update ></update >
172189 <pen interval =" 1.0" mode =" 0" display =" default" color =" -16777216" legend =" true" >
173190 <setup ></setup >
174191 <update >plot mean [unhappiness] of turtles</update >
175192 </pen >
176193 </plot >
177- <slider x =" 14" step =" 1" y =" 69" max =" 200" display =" min-ideal-temp" height =" 33" min =" 0" direction =" Horizontal" default =" 10.0" variable =" min-ideal-temp" width =" 172" sizeVersion =" 0" ></slider >
178- <slider x =" 14" step =" 1" y =" 102" max =" 200" display =" max-ideal-temp" height =" 33" min =" 0" direction =" Horizontal" default =" 40.0" variable =" max-ideal-temp" width =" 172" sizeVersion =" 0" ></slider >
179- <slider x =" 189" step =" 1" y =" 102" max =" 100" display =" max-output-heat" height =" 33" min =" 0" direction =" Horizontal" default =" 25.0" variable =" max-output-heat" width =" 173" sizeVersion =" 0" ></slider >
180- <slider x =" 189" step =" 1" y =" 69" max =" 100" display =" min-output-heat" height =" 33" min =" 0" direction =" Horizontal" default =" 5.0" variable =" min-output-heat" width =" 173" sizeVersion =" 0" ></slider >
181- <button x =" 179" y =" 177" height =" 33" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 92" sizeVersion =" 0" >deep-freeze</button >
182- <button x =" 274" y =" 177" height =" 33" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 88" sizeVersion =" 0" >heat-up</button >
183- <note x =" 10" y =" 10" height =" 18" textColorLight =" -16777216" fontSize =" 11" width =" 150" markdown =" false" >Initial settings for bugs</note >
184- <note x =" 13" y =" 230" height =" 28" textColorLight =" -16777216" fontSize =" 11" width =" 127" markdown =" false" >Other parameters</note >
185- <note x =" 12" y =" 156" height =" 18" textColorLight =" -16777216" fontSize =" 11" width =" 150" markdown =" false" >Actions</note >
186- <note x =" 12" y =" 251" height =" 29" textColorLight =" -16777216" fontSize =" 11" width =" 141" markdown =" false" >(OK to change
187- during run)</note >
188- <button x =" 462" y =" 445" height =" 33" disableUntilTicks =" false" forever =" false" kind =" Observer" display =" ideal-temp" width =" 106" sizeVersion =" 0" >set color-by-unhappiness? false
189- ask turtles [ color-by-ideal-temp ]</button >
190- <button x =" 573" y =" 445" height =" 33" disableUntilTicks =" false" forever =" false" kind =" Observer" display =" happiness" width =" 116" sizeVersion =" 0" >set color-by-unhappiness? true</button >
191- <note x =" 376" y =" 453" height =" 30" textColorLight =" -16777216" fontSize =" 11" width =" 83" markdown =" false" >Color bug by:</note >
192- <button x =" 462" y =" 481" height =" 33" disableUntilTicks =" true" forever =" false" kind =" Observer" display =" watch saddest" width =" 107" sizeVersion =" 0" >watch max-one-of turtles [ unhappiness ]</button >
193- <button x =" 573" y =" 481" height =" 33" disableUntilTicks =" true" forever =" false" kind =" Observer" display =" watch happiest" width =" 118" sizeVersion =" 0" >watch min-one-of turtles [ unhappiness ]</button >
194- <button x =" 694" y =" 481" height =" 33" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 137" sizeVersion =" 0" >reset-perspective</button >
194+ <slider x =" 14" step =" 1" y =" 142" max =" 200" width =" 172" display =" max-ideal-temp" height =" 50" min =" 0" direction =" Horizontal" default =" 40.0" variable =" max-ideal-temp" ></slider >
195195 </widgets >
196196 <info ><![CDATA[ ## WHAT IS IT?
197197
0 commit comments