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
28 changes: 14 additions & 14 deletions Sample Models/Biology/Sunflower Emergent.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="true">
<model version="NetLogo 7.0.0-beta1" snapToGrid="true">
<code><![CDATA[breed [particles particle]
breed [temp-particles temp-particle]

Expand Down Expand Up @@ -71,22 +71,22 @@ end
; Copyright 2009 Uri Wilensky.
; See Info tab for full copyright and license.]]></code>
<widgets>
<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>
<button x="15" y="95" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="60" sizeVersion="0">setup</button>
<button x="80" y="95" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="step" width="65" sizeVersion="0">go</button>
<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>
<button x="150" y="95" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="60" sizeVersion="0">go</button>
<monitor x="70" precision="17" y="275" height="45" fontSize="11" display="# temps" width="85" sizeVersion="0">num-temp-particles</monitor>
<switch x="15" y="230" height="33" on="true" variable="show-temps?" display="show-temps?" width="195" sizeVersion="0"></switch>
<switch x="15" y="190" height="33" on="false" variable="fixed-temps?" display="fixed-temps?" width="195" sizeVersion="0"></switch>
<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>
<monitor x="70" precision="17" y="135" height="45" fontSize="11" display="# particles" width="85" sizeVersion="0">count particles</monitor>
<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>
<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>
<chooser x="15" y="330" height="45" variable="energy-approximation" current="0" display="energy-approximation" width="195" sizeVersion="0">
<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>
<chooser x="15" y="404" height="60" variable="energy-approximation" current="0" width="250" display="energy-approximation">
<choice type="string" value="inverse distance"></choice>
<choice type="string" value="exponential"></choice>
</chooser>
<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>
<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>
<switch x="15" y="241" height="37" on="false" variable="fixed-temps?" width="250" display="fixed-temps?"></switch>
<switch x="15" y="285" height="37" on="true" variable="show-temps?" width="250" display="show-temps?"></switch>
<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>
<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>
<monitor x="90" precision="17" y="172" height="60" fontSize="11" width="100" display="# particles">count particles</monitor>
<monitor x="90" precision="17" y="335" height="60" fontSize="11" width="100" display="# temps">num-temp-particles</monitor>
<button x="15" y="129" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="80">setup</button>
<button x="100" y="130" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="80" display="step">go</button>
<button x="185" y="130" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="80">go</button>
</widgets>
<info><![CDATA[## WHAT IS IT?

Expand Down
Loading