Skip to content

Commit cacb6b1

Browse files
committed
Resize Sand
1 parent 21e1804 commit cacb6b1

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Sample Models/Chemistry & Physics/Sand.nlogox

Lines changed: 8 additions & 8 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-beta0" snapToGrid="false">
2+
<model version="NetLogo 7.0.0-beta1" snapToGrid="true">
33
<code><![CDATA[globals [
44
spout-patches ;; set in setup so we don't have to keep recomputing it
55
spout-ycor ;; location of the spouts
@@ -78,13 +78,13 @@ end
7878
; Copyright 1996 Uri Wilensky.
7979
; See Info tab for full copyright and license.]]></code>
8080
<widgets>
81-
<view x="264" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-40" height="409" showTickCounter="true" patchSize="5.0" fontSize="10" wrappingAllowedY="false" width="409" tickCounterLabel="ticks" maxPycor="40" updateMode="1" maxPxcor="40" minPxcor="-40"></view>
82-
<button x="135" y="41" height="56" disableUntilTicks="true" forever="true" kind="Observer" width="110" sizeVersion="0">go</button>
83-
<button x="10" y="41" height="56" disableUntilTicks="false" forever="false" kind="Observer" width="110" sizeVersion="0">setup</button>
84-
<slider x="10" step="1.0" y="105" max="100.0" display="release-chance" height="33" min="0.0" direction="Horizontal" default="100.0" variable="release-chance" units="%" width="235" sizeVersion="0"></slider>
85-
<slider x="127" step="1.0" y="207" max="50.0" display="density" height="33" min="0.0" direction="Horizontal" default="10.0" variable="density" units="%" width="110" sizeVersion="0"></slider>
86-
<button x="17" y="207" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="110" sizeVersion="0">dump-sand</button>
87-
<slider x="47" step="1.0" y="140" max="15.0" display="spacing" height="33" min="2.0" direction="Horizontal" default="3.0" variable="spacing" width="172" sizeVersion="0"></slider>
81+
<view x="270" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-40" height="409" showTickCounter="true" patchSize="5.0" fontSize="10" wrappingAllowedY="false" width="409" tickCounterLabel="ticks" maxPycor="40" updateMode="1" maxPxcor="40" minPxcor="-40"></view>
82+
<slider x="10" step="1.0" y="105" max="100.0" width="250" display="release-chance" height="50" min="0.0" direction="Horizontal" default="100.0" variable="release-chance" units="%"></slider>
83+
<slider x="10" step="1.0" y="157" max="15.0" width="250" display="spacing" height="50" min="2.0" direction="Horizontal" default="3.0" variable="spacing"></slider>
84+
<slider x="10" step="1.0" y="241" max="50.0" width="250" display="density" height="50" min="0.0" direction="Horizontal" default="10.0" variable="density" units="%"></slider>
85+
<button x="140" y="40" height="56" disableUntilTicks="true" forever="true" kind="Observer" width="120">go</button>
86+
<button x="10" y="40" height="56" disableUntilTicks="false" forever="false" kind="Observer" width="120">setup</button>
87+
<button x="80" y="300" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="110">dump-sand</button>
8888
</widgets>
8989
<info><![CDATA[## WHAT IS IT?
9090

0 commit comments

Comments
 (0)