@@ -317,29 +317,29 @@ end
317317; Copyright 1997 Uri Wilensky.
318318; See Info tab for full copyright and license.]]> </code >
319319 <widgets >
320- <view x =" 329 " wrappingAllowedX =" false" y =" 11" frameRate =" 30.0" minPycor =" -40" height =" 571" showTickCounter =" true" patchSize =" 7.0" fontSize =" 18" wrappingAllowedY =" false" width =" 571" tickCounterLabel =" ticks" maxPycor =" 40" updateMode =" 1" maxPxcor =" 40" minPxcor =" -40" ></view >
321- <button x =" 12" y =" 43 " height =" 33 " disableUntilTicks =" true" forever =" true" kind =" Observer" display = " go/stop " width =" 86" sizeVersion = " 0 " >go</button >
322- <button x =" 12" y =" 10" height =" 33 " disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 86" sizeVersion = " 0 " >setup</button >
323- <slider x =" 100" step =" 1" y =" 10" max =" 1000" display =" number-of-particles" height =" 33 " min =" 1" direction =" Horizontal" default =" 100.0" variable =" number-of-particles" width = " 209 " sizeVersion = " 0 " ></slider >
324- <monitor x =" 13" precision =" 2" y =" 225 " height =" 45 " fontSize =" 11" display = " average speed " width =" 119" sizeVersion = " 0 " >avg-speed</monitor >
325- <monitor x =" 137 " precision =" 2" y =" 225 " height =" 45 " fontSize =" 11" display = " average energy " width =" 129" sizeVersion = " 0 " >avg-energy</monitor >
326- <switch x =" 101" y =" 44 " height =" 33 " on =" true" variable =" collide?" display = " collide? " width =" 103" sizeVersion = " 0 " ></switch >
327- <monitor x =" 13" precision =" 0" y =" 278 " height =" 45 " fontSize =" 11" display = " percent fast " width =" 97 " sizeVersion = " 0 " >percent-fast</monitor >
328- <monitor x =" 115 " precision =" 0" y =" 279 " height =" 45 " fontSize =" 11" display = " percent medium " width =" 103" sizeVersion = " 0 " >percent-medium</monitor >
329- <monitor x =" 223 " precision =" 0" y =" 279 " height =" 45 " fontSize =" 11" display = " percent slow " width =" 92 " sizeVersion = " 0 " >percent-slow</monitor >
330- <slider x =" 12" step =" 1" y =" 176 " max =" 100" display =" box-size" height =" 33 " min =" 5" direction =" Horizontal" default =" 95.0" variable =" box-size" units =" %" width = " 179 " sizeVersion = " 0 " ></slider >
331- <slider x =" 13" step =" 1" y =" 93 " max =" 20" display =" init-particle-speed" height =" 33 " min =" 1" direction =" Horizontal" default =" 10.0" variable =" init-particle-speed" width = " 179 " sizeVersion = " 0 " ></slider >
332- <slider x =" 12" step =" 1" y =" 134 " max =" 20" display =" particle-mass" height =" 33 " min =" 1" direction =" Horizontal" default =" 1.0" variable =" particle-mass" width = " 179 " sizeVersion = " 0 " ></slider >
333- <switch x =" 205" y =" 44 " height =" 33 " on =" true" variable =" trace?" display = " trace? " width =" 103" sizeVersion = " 0 " ></switch >
334- <button x =" 205" y =" 78 " height =" 33 " disableUntilTicks =" false" forever =" false" kind =" Observer" display = " clear trace " width =" 103" sizeVersion = " 0 " >clear-drawing</button >
335- <button x =" 15" y =" 396 " height =" 33 " disableUntilTicks =" true" forever =" false" kind =" Observer" width =" 116" sizeVersion = " 0 " >watch turtle 0</button >
336- <button x =" 15" y =" 430 " height =" 33 " disableUntilTicks =" true" forever =" false" kind =" Observer" width =" 116" sizeVersion = " 0 " >follow turtle 0</button >
337- <button x =" 15" y =" 464 " height =" 33 " disableUntilTicks =" true" forever =" false" kind =" Observer" width =" 116" sizeVersion = " 0 " >ride turtle 0</button >
338- <button x =" 135" y =" 451 " height =" 33 " disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 132" sizeVersion = " 0 " >reset-perspective</button >
339- <note x =" 14" y =" 346 " height = " 44 " textColorLight = " -16777216 " fontSize =" 11" width =" 276" markdown =" false" >This is a version of the GasLab Gas in a Box
320+ <view x =" 340 " wrappingAllowedX =" false" y =" 11" frameRate =" 30.0" minPycor =" -40" height =" 571" showTickCounter =" true" patchSize =" 7.0" fontSize =" 18" wrappingAllowedY =" false" width =" 571" tickCounterLabel =" ticks" maxPycor =" 40" updateMode =" 1" maxPxcor =" 40" minPxcor =" -40" ></view >
321+ <button x =" 12" y =" 55 " height =" 40 " disableUntilTicks =" true" forever =" true" kind =" Observer" width =" 86" display = " go/stop " >go</button >
322+ <button x =" 12" y =" 10" height =" 40 " disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 86" >setup</button >
323+ <slider x =" 100" step =" 1" y =" 10" max =" 1000" width = " 209 " display =" number-of-particles" height =" 50 " min =" 1" direction =" Horizontal" default =" 100.0" variable =" number-of-particles" ></slider >
324+ <monitor x =" 13" precision =" 2" y =" 304 " height =" 60 " fontSize =" 11" width =" 119" display = " average speed " >avg-speed</monitor >
325+ <monitor x =" 140 " precision =" 2" y =" 304 " height =" 60 " fontSize =" 11" width =" 129" display = " average energy " >avg-energy</monitor >
326+ <switch x =" 101" y =" 65 " height =" 40 " on =" true" variable =" collide?" width =" 103" display = " collide? " ></switch >
327+ <monitor x =" 13" precision =" 0" y =" 372 " height =" 60 " fontSize =" 11" width =" 100 " display = " percent fast " >percent-fast</monitor >
328+ <monitor x =" 118 " precision =" 0" y =" 373 " height =" 60 " fontSize =" 11" width =" 103" display = " percent medium " >percent-medium</monitor >
329+ <monitor x =" 226 " precision =" 0" y =" 373 " height =" 60 " fontSize =" 11" width =" 100 " display = " percent slow " >percent-slow</monitor >
330+ <slider x =" 12" step =" 1" y =" 238 " max =" 100" width = " 179 " display =" box-size" height =" 50 " min =" 5" direction =" Horizontal" default =" 95.0" variable =" box-size" units =" %" ></slider >
331+ <slider x =" 13" step =" 1" y =" 121 " max =" 20" width = " 179 " display =" init-particle-speed" height =" 50 " min =" 1" direction =" Horizontal" default =" 10.0" variable =" init-particle-speed" ></slider >
332+ <slider x =" 12" step =" 1" y =" 179 " max =" 20" width = " 179 " display =" particle-mass" height =" 50 " min =" 1" direction =" Horizontal" default =" 1.0" variable =" particle-mass" ></slider >
333+ <switch x =" 205" y =" 65 " height =" 40 " on =" true" variable =" trace?" width =" 103" display = " trace? " ></switch >
334+ <button x =" 205" y =" 110 " height =" 40 " disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 103" display = " clear trace " >clear-drawing</button >
335+ <button x =" 15" y =" 505 " height =" 40 " disableUntilTicks =" true" forever =" false" kind =" Observer" width =" 116" >watch turtle 0</button >
336+ <button x =" 15" y =" 550 " height =" 40 " disableUntilTicks =" true" forever =" false" kind =" Observer" width =" 116" >follow turtle 0</button >
337+ <button x =" 15" y =" 595 " height =" 40 " disableUntilTicks =" true" forever =" false" kind =" Observer" width =" 116" >ride turtle 0</button >
338+ <button x =" 135" y =" 576 " height =" 40 " disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 132" >reset-perspective</button >
339+ <note x =" 14" y =" 455 " backgroundDark = " 0 " fontSize =" 11" width =" 276" markdown =" false" height = " 44 " textColorDark = " -1 " textColorLight = " -16777216 " backgroundLight = " 0 " >This is a version of the GasLab Gas in a Box
340340model, modified to show off NetLogo's
341341perspective features. Try it in both 2D and 3D.</note >
342- <monitor x =" 147" precision =" 3" y =" 402 " height =" 45 " fontSize =" 11" width =" 112" sizeVersion = " 0 " >subject</monitor >
342+ <monitor x =" 147" precision =" 3" y =" 511 " height =" 60 " fontSize =" 11" width =" 112" >subject</monitor >
343343 </widgets >
344344 <info ><![CDATA[ ## WHAT IS IT?
345345
0 commit comments