|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<model version="NetLogo 7.0.0-beta0" snapToGrid="true"> |
| 2 | +<model version="NetLogo 7.0.0-beta1" snapToGrid="true"> |
3 | 3 | <code><![CDATA[breed [particles particle] |
4 | 4 | breed [temp-particles temp-particle] |
5 | 5 |
|
|
71 | 71 | ; Copyright 2009 Uri Wilensky. |
72 | 72 | ; See Info tab for full copyright and license.]]></code> |
73 | 73 | <widgets> |
74 | | - <view x="225" wrappingAllowedX="false" y="15" frameRate="30.0" minPycor="-80" height="487" showTickCounter="true" patchSize="3.0" fontSize="10" wrappingAllowedY="false" width="487" tickCounterLabel="ring-number" maxPycor="80" updateMode="1" maxPxcor="80" minPxcor="-80"></view> |
75 | | - <button x="15" y="95" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="60" sizeVersion="0">setup</button> |
76 | | - <button x="80" y="95" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="step" width="65" sizeVersion="0">go</button> |
77 | | - <slider x="15" step=".01" y="15" max="1" display="ring-dist" height="33" min="0.01" direction="Horizontal" default="0.2" variable="ring-dist" width="195" sizeVersion="0"></slider> |
78 | | - <button x="150" y="95" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="60" sizeVersion="0">go</button> |
79 | | - <monitor x="70" precision="17" y="275" height="45" fontSize="11" display="# temps" width="85" sizeVersion="0">num-temp-particles</monitor> |
80 | | - <switch x="15" y="230" height="33" on="true" variable="show-temps?" display="show-temps?" width="195" sizeVersion="0"></switch> |
81 | | - <switch x="15" y="190" height="33" on="false" variable="fixed-temps?" display="fixed-temps?" width="195" sizeVersion="0"></switch> |
82 | | - <slider x="15" step="0.1" y="55" max="3" display="particle-size" height="33" min="0.1" direction="Horizontal" default="1.8" variable="particle-size" width="195" sizeVersion="0"></slider> |
83 | | - <monitor x="70" precision="17" y="135" height="45" fontSize="11" display="# particles" width="85" sizeVersion="0">count particles</monitor> |
84 | | - <slider x="15" step="2" y="380" max="3" display="alpha" height="33" min="1" direction="Horizontal" default="3.0" variable="alpha" width="92" sizeVersion="0"></slider> |
85 | | - <slider x="110" step=".1" y="380" max="1" display="beta" height="33" min="0" direction="Horizontal" default="0.6" variable="beta" width="101" sizeVersion="0"></slider> |
86 | | - <chooser x="15" y="330" height="45" variable="energy-approximation" current="0" display="energy-approximation" width="195" sizeVersion="0"> |
| 74 | + <view x="280" wrappingAllowedX="false" y="15" frameRate="30.0" minPycor="-80" height="487" showTickCounter="true" patchSize="3.0" fontSize="10" wrappingAllowedY="false" width="487" tickCounterLabel="ring-number" maxPycor="80" updateMode="1" maxPxcor="80" minPxcor="-80"></view> |
| 75 | + <chooser x="15" y="404" height="60" variable="energy-approximation" current="0" width="250" display="energy-approximation"> |
87 | 76 | <choice type="string" value="inverse distance"></choice> |
88 | 77 | <choice type="string" value="exponential"></choice> |
89 | 78 | </chooser> |
| 79 | + <slider x="15" step="0.1" y="72" max="3" width="250" display="particle-size" height="50" min="0.1" direction="Horizontal" default="1.8" variable="particle-size"></slider> |
| 80 | + <slider x="15" step=".01" y="15" max="1" width="250" display="ring-dist" height="50" min="0.01" direction="Horizontal" default="0.2" variable="ring-dist"></slider> |
| 81 | + <switch x="15" y="241" height="37" on="false" variable="fixed-temps?" width="250" display="fixed-temps?"></switch> |
| 82 | + <switch x="15" y="285" height="37" on="true" variable="show-temps?" width="250" display="show-temps?"></switch> |
| 83 | + <slider x="15" step="2" y="469" max="3" width="250" display="alpha" height="50" min="1" direction="Horizontal" default="3.0" variable="alpha"></slider> |
| 84 | + <slider x="15" step=".1" y="525" max="1" width="250" display="beta" height="50" min="0" direction="Horizontal" default="0.6" variable="beta"></slider> |
| 85 | + <monitor x="90" precision="17" y="172" height="60" fontSize="11" width="100" display="# particles">count particles</monitor> |
| 86 | + <monitor x="90" precision="17" y="335" height="60" fontSize="11" width="100" display="# temps">num-temp-particles</monitor> |
| 87 | + <button x="15" y="129" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="80">setup</button> |
| 88 | + <button x="100" y="130" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="80" display="step">go</button> |
| 89 | + <button x="185" y="130" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="80">go</button> |
90 | 90 | </widgets> |
91 | 91 | <info><![CDATA[## WHAT IS IT? |
92 | 92 |
|
|
0 commit comments