Skip to content

Commit 44fc165

Browse files
committed
Rearranging a few more models
1 parent c40833d commit 44fc165

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

Sample Models/Chemistry & Physics/Materials Science/Heat Diffusion.nlogox

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<model version="NetLogo 7.0.0-beta1" snapToGrid="true">
2+
<model version="NetLogo 7.0.0-beta0" snapToGrid="true">
33
<code><![CDATA[globals [
44
plate-size ; the size of the plate on which heat is diffusing
55
; Used for scaling the color of the patches
@@ -161,7 +161,7 @@ end
161161
; Copyright 1998 Uri Wilensky.
162162
; See Info tab for full copyright and license.]]></code>
163163
<widgets>
164-
<view x="490" wrappingAllowedX="true" y="215" frameRate="30.0" minPycor="-25" height="259" showTickCounter="true" patchSize="5.0" fontSize="10" wrappingAllowedY="true" width="259" tickCounterLabel="ticks" maxPycor="25" updateMode="1" maxPxcor="25" minPxcor="-25"></view>
164+
<view x="520" wrappingAllowedX="true" y="65" frameRate="30.0" minPycor="-25" height="259" showTickCounter="true" patchSize="5.0" fontSize="10" wrappingAllowedY="true" width="259" tickCounterLabel="ticks" maxPycor="25" updateMode="1" maxPxcor="25" minPxcor="-25"></view>
165165
<button x="5" y="7" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="115" display="Setup">setup</button>
166166
<button x="130" y="7" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="75" display="Go Once">go</button>
167167
<button x="215" y="7" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="65" display="Go">go</button>
@@ -181,10 +181,10 @@ then press UPDATE ALPHA
181181
based on that material,
182182
or set ALPHA directly
183183
from the slider.</note>
184-
<slider x="760" step="1.0" y="215" max="100.0" width="50" display="right-temp" height="259" min="1.0" direction="Vertical" default="50.0" variable="right-temp"></slider>
185-
<slider x="430" step="1.0" y="215" max="100.0" width="50" display="left-temp" height="259" min="1.0" direction="Vertical" default="1.0" variable="left-temp"></slider>
186-
<slider x="490" step="1.0" y="155" max="100.0" width="259" display="top-temp" height="50" min="1.0" direction="Horizontal" default="50.0" variable="top-temp"></slider>
187-
<slider x="490" step="1.0" y="485" max="100.0" width="259" display="bottom-temp" height="50" min="1.0" direction="Horizontal" default="50.0" variable="bottom-temp"></slider>
184+
<slider x="520" step="1.0" y="335" max="100.0" width="259" display="bottom-temp" height="50" min="1.0" direction="Horizontal" default="50.0" variable="bottom-temp"></slider>
185+
<slider x="520" step="1.0" y="5" max="100.0" width="259" display="top-temp" height="50" min="1.0" direction="Horizontal" default="50.0" variable="top-temp"></slider>
186+
<slider x="460" step="1.0" y="65" max="100.0" width="50" display="left-temp" height="259" min="1.0" direction="Vertical" default="1.0" variable="left-temp"></slider>
187+
<slider x="790" step="1.0" y="65" max="100.0" width="50" display="right-temp" height="259" min="1.0" direction="Vertical" default="50.0" variable="right-temp"></slider>
188188
</widgets>
189189
<info><![CDATA[## WHAT IS IT?
190190

Sample Models/Chemistry & Physics/Waves/Lattice Gas Automaton.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<model version="NetLogo 7.0.0-beta1" snapToGrid="true">
2+
<model version="NetLogo 7.0.0-beta0" snapToGrid="true">
33
<code><![CDATA[globals [
44
lattice ;; only those patches where both pxcor and pycor are even
55
]

Sample Models/Chemistry & Physics/Waves/Wave Machine.nlogox

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<model version="NetLogo 7.0.0-beta1" snapToGrid="true">
2+
<model version="NetLogo 7.0.0-beta0" snapToGrid="true">
33
<code><![CDATA[globals [
44
membrane-edge-x ;; horizontal distance from center to edge of membrane
55
membrane-edge-y ;; vertical distance from center to edge of membrane
@@ -108,7 +108,7 @@ end
108108
<slider x="265" step="1" y="200" max="11" width="250" display="driver-y" height="50" min="-11" direction="Horizontal" default="0.0" variable="driver-y"></slider>
109109
<slider x="138" step="1" y="310" max="100" width="250" display="driver-frequency" height="50" min="0" direction="Horizontal" default="100.0" variable="driver-frequency"></slider>
110110
<slider x="10" step="1" y="255" max="10" width="250" display="driver-size" height="50" min="0" direction="Horizontal" default="2.0" variable="driver-size"></slider>
111-
<slider x="265" step="1" y="255" max="30" width="250" display="driver-amplitude" height="50" min="0" direction="Horizontal" default="9.0" variable="driver-amplitude"></slider>
111+
<slider x="265" step="1" y="255" max="30" width="250" display="driver-amplitude" height="50" min="0" direction="Horizontal" default="0.0" variable="driver-amplitude"></slider>
112112
<slider x="10" step="1" y="115" max="50" width="250" display="stiffness" height="50" min="0" direction="Horizontal" default="50.0" variable="stiffness"></slider>
113113
<slider x="265" step="1" y="115" max="99" width="250" display="friction" height="50" min="0" direction="Horizontal" default="10.0" variable="friction"></slider>
114114
<slider x="135" step="1" y="395" max="90" width="250" display="view-angle" height="50" min="0" direction="Horizontal" default="45.0" variable="view-angle"></slider>

Sample Models/Computer Science/Turing Machine 2D.nlogox

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<model version="NetLogo 7.0.0-beta1" snapToGrid="true">
2+
<model version="NetLogo 7.0.0-beta0" snapToGrid="true">
33
<code>turtles-own [rule-set bg fg state]
44
patches-own [on?]
55

@@ -124,7 +124,7 @@ end
124124
<choice type="string" value="Backwards"></choice>
125125
<choice type="string" value="Left"></choice>
126126
</chooser>
127-
<slider x="390" step="1" y="260" max="1" width="250" display="off-1-state" height="60" min="0" direction="Horizontal" default="1.0" variable="off-1-state"></slider>
127+
<slider x="390" step="1" y="260" max="1" width="250" display="off-1-state" height="60" min="0" direction="Horizontal" default="0.0" variable="off-1-state"></slider>
128128
<chooser x="135" y="325" height="60" variable="on-0-turn" current="0" width="250" display="on-0-turn">
129129
<choice type="string" value="--"></choice>
130130
<choice type="string" value="Right"></choice>

Sample Models/Earth Science/Grand Canyon.nlogox

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<model version="NetLogo 7.0.0-beta1" snapToGrid="true">
2+
<model version="NetLogo 7.0.0-beta0" snapToGrid="true">
33
<code><![CDATA[breed [waters water]
44
breed [raindrops raindrop]
55
@@ -120,7 +120,7 @@ end
120120
<slider x="5" step="1" y="80" max="10" width="205" display="rain-rate" height="50" min="0" direction="Horizontal" default="5.0" variable="rain-rate" units="drops / tick"></slider>
121121
<note x="35" y="140" backgroundDark="0" fontSize="11" width="154" markdown="false" height="32" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Click on the map to place
122122
raindrops manually</note>
123-
<switch x="10" y="210" height="37" on="false" variable="draw?" width="70" display="draw?"></switch>
123+
<switch x="10" y="210" height="40" on="false" variable="draw?" width="70" display="draw?"></switch>
124124
<button x="20" y="269" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="177" display="watch random raindrop">watch one-of raindrops</button>
125125
<button x="20" y="312" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="177" display="watch my raindrop">if any? turtles with [ color = red ]
126126
[

0 commit comments

Comments
 (0)