Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Sample Models/Chemistry & Physics/Sand.nlogox
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<model version="NetLogo 7.0.0-beta0" snapToGrid="false">
<model version="NetLogo 7.0.0-beta1" snapToGrid="true">
<code><![CDATA[globals [
spout-patches ;; set in setup so we don't have to keep recomputing it
spout-ycor ;; location of the spouts
Expand Down Expand Up @@ -78,13 +78,13 @@ end
; Copyright 1996 Uri Wilensky.
; See Info tab for full copyright and license.]]></code>
<widgets>
<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>
<button x="135" y="41" height="56" disableUntilTicks="true" forever="true" kind="Observer" width="110" sizeVersion="0">go</button>
<button x="10" y="41" height="56" disableUntilTicks="false" forever="false" kind="Observer" width="110" sizeVersion="0">setup</button>
<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>
<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>
<button x="17" y="207" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="110" sizeVersion="0">dump-sand</button>
<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>
<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>
<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>
<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>
<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>
<button x="140" y="40" height="56" disableUntilTicks="true" forever="true" kind="Observer" width="120">go</button>
<button x="10" y="40" height="56" disableUntilTicks="false" forever="false" kind="Observer" width="120">setup</button>
<button x="80" y="300" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="110">dump-sand</button>
</widgets>
<info><![CDATA[## WHAT IS IT?

Expand Down
Loading