Skip to content

Commit f23b362

Browse files
authored
Merge pull request #420 from kgmt0/slime-mold-network
Resize Slime Mold Network
2 parents 7d4afa7 + e408e5f commit f23b362

1 file changed

Lines changed: 35 additions & 35 deletions

File tree

Sample Models/Biology/Slime Mold Network.nlogox

Lines changed: 35 additions & 35 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[extensions[palette]
44
55
breed [nuclei nucleus]
@@ -571,45 +571,45 @@ end
571571
; Copyright 2021 Uri Wilensky.
572572
; See Info tab for full copyright and license.]]></code>
573573
<widgets>
574-
<view x="210" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-100" height="607" showTickCounter="true" patchSize="3.0" fontSize="10" wrappingAllowedY="true" width="607" tickCounterLabel="ticks" maxPycor="100" updateMode="1" maxPxcor="100" minPxcor="-100"></view>
575-
<slider x="33" step="1" y="80" max="30000" display="max-fluid-particles" height="33" min="0" direction="Horizontal" default="10000.0" variable="max-fluid-particles" width="172" sizeVersion="0"></slider>
576-
<button x="840" y="67" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="63" sizeVersion="0">setup
577-
</button>
578-
<button x="904" y="67" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="63" sizeVersion="0">go</button>
579-
<slider x="33" step="1" y="113" max="99" display="total-fluid-volume" height="33" min="0" direction="Horizontal" default="50.0" variable="total-fluid-volume" units="%" width="172" sizeVersion="0"></slider>
580-
<slider x="33" step="0.01" y="146" max="1" display="diffusion-proportion" height="33" min="0" direction="Horizontal" default="0.5" variable="diffusion-proportion" width="172" sizeVersion="0"></slider>
581-
<slider x="933" step="1" y="151" max="5" display="brush-size" height="33" min="0" direction="Horizontal" default="5.0" variable="brush-size" width="92" sizeVersion="0"></slider>
582-
<switch x="933" y="185" height="33" on="false" variable="eraser" display="eraser" width="92" sizeVersion="0"></switch>
583-
<slider x="33" step="0.1" y="209" max="100" display="food-signal-boost" height="33" min="0" direction="Horizontal" default="20.0" variable="food-signal-boost" units="%" width="172" sizeVersion="0"></slider>
584-
<button x="840" y="407" height="33" disableUntilTicks="false" forever="false" kind="Observer" display="Remove-Slime-Mold" width="183" sizeVersion="0">clear-turtles</button>
585-
<button x="840" y="441" height="33" disableUntilTicks="false" forever="false" kind="Observer" display="Remove Cytoplasmic Fluid" width="183" sizeVersion="0">ask turtles with [breed = cytoplasm] [die]</button>
586-
<monitor x="840" precision="17" y="475" height="45" fontSize="11" display="Cytoplasmic Fluid Particles" width="183" sizeVersion="0">count turtles with [breed = cytoplasm]</monitor>
587-
<slider x="33" step="0.01" y="243" max="1" display="eat-proportion" height="33" min="0.00" direction="Horizontal" default="0.0" variable="eat-proportion" width="172" sizeVersion="0"></slider>
588-
<monitor x="840" precision="17" y="521" height="45" fontSize="11" display="Food Particles in the Network" width="183" sizeVersion="0"><![CDATA[count cytoplasm with [carrying-signal > 0]]]></monitor>
589-
<slider x="33" step="1" y="337" max="25" display="fluid-turbulence" height="33" min="0" direction="Horizontal" default="10.0" variable="fluid-turbulence" width="172" sizeVersion="0"></slider>
590-
<slider x="33" step="0.1" y="370" max="100" display="movement-speed" height="33" min="1" direction="Horizontal" default="100.0" variable="movement-speed" units="%" width="172" sizeVersion="0"></slider>
591-
<switch x="840" y="339" height="33" on="false" variable="visualize-velocity?" display="visualize-velocity?" width="183" sizeVersion="0"></switch>
592-
<chooser x="840" y="185" height="45" variable="draw-choice" current="2" display="draw-choice" width="92" sizeVersion="0">
593-
<choice type="string" value="Wall"></choice>
594-
<choice type="string" value="Food"></choice>
595-
<choice type="string" value="Nucleus"></choice>
596-
</chooser>
597-
<button x="840" y="151" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="92" sizeVersion="0">draw</button>
598-
<slider x="33" step="1" y="277" max="100" display="signal-lifetime" height="33" min="1" direction="Horizontal" default="50.0" variable="signal-lifetime" width="172" sizeVersion="0"></slider>
599-
<note x="36" y="322" height="18" backgroundDark="0" fontSize="12" width="150" markdown="false" textColorLight="-16777216" backgroundLight="0">Fluid Movement</note>
600-
<note x="36" y="194" height="18" backgroundDark="0" fontSize="12" width="150" markdown="false" textColorLight="-16777216" backgroundLight="0">Nutritive Stimuli</note>
601-
<note x="34" y="65" height="18" backgroundDark="0" fontSize="12" width="189" markdown="false" textColorLight="-16777216" backgroundLight="0">Fluid Volume / Tube Strength</note>
602-
<note x="45" y="34" height="34" backgroundDark="0" fontSize="14" width="159" markdown="false" textColorLight="-16777216" backgroundLight="0">MODEL PARAMETERS</note>
603-
<switch x="840" y="373" height="33" on="false" variable="visualize-signaling-molecule?" display="visualize-signaling-molecule?" width="183" sizeVersion="0"></switch>
604-
<chooser x="840" y="102" height="45" variable="setup-choice" current="1" display="setup-choice" width="127" sizeVersion="0">
574+
<view x="270" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-100" height="607" showTickCounter="true" patchSize="3.0" fontSize="10" wrappingAllowedY="true" width="607" tickCounterLabel="ticks" maxPycor="100" updateMode="1" maxPxcor="100" minPxcor="-100"></view>
575+
<button x="62" y="535" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="138" display="Reset Parameters">default-parameters</button>
576+
<slider x="10" step="1" y="342" max="100" width="250" display="signal-lifetime" height="50" min="1" direction="Horizontal" default="50.0" variable="signal-lifetime"></slider>
577+
<slider x="10" step="0.1" y="469" max="100" width="250" display="movement-speed" height="50" min="1" direction="Horizontal" default="100.0" variable="movement-speed" units="%"></slider>
578+
<slider x="10" step="1" y="419" max="25" width="250" display="fluid-turbulence" height="50" min="0" direction="Horizontal" default="10.0" variable="fluid-turbulence"></slider>
579+
<slider x="10" step="0.01" y="291" max="1" width="250" display="eat-proportion" height="50" min="0.00" direction="Horizontal" default="0.0" variable="eat-proportion"></slider>
580+
<slider x="10" step="0.1" y="240" max="100" width="250" display="food-signal-boost" height="50" min="0" direction="Horizontal" default="20.0" variable="food-signal-boost" units="%"></slider>
581+
<slider x="10" step="0.01" y="160" max="1" width="250" display="diffusion-proportion" height="50" min="0" direction="Horizontal" default="0.5" variable="diffusion-proportion"></slider>
582+
<slider x="10" step="1" y="110" max="99" width="250" display="total-fluid-volume" height="50" min="0" direction="Horizontal" default="50.0" variable="total-fluid-volume" units="%"></slider>
583+
<slider x="10" step="1" y="60" max="30000" width="250" display="max-fluid-particles" height="50" min="0" direction="Horizontal" default="10000.0" variable="max-fluid-particles"></slider>
584+
<slider x="885" step="1" y="195" max="5" width="250" display="brush-size" height="50" min="0" direction="Horizontal" default="5.0" variable="brush-size"></slider>
585+
<button x="890" y="433" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="245" display="Remove-Slime-Mold">clear-turtles</button>
586+
<button x="890" y="469" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="245" display="Remove Cytoplasmic Fluid">ask turtles with [breed = cytoplasm] [die]</button>
587+
<monitor x="890" precision="17" y="505" height="60" fontSize="11" width="245" display="Cytoplasmic Fluid Particles">count turtles with [breed = cytoplasm]</monitor>
588+
<monitor x="890" precision="17" y="566" height="60" fontSize="11" width="245" display="Food Particles in the Network"><![CDATA[count cytoplasm with [carrying-signal > 0]]]></monitor>
589+
<switch x="890" y="357" height="37" on="false" variable="visualize-velocity?" width="245" display="visualize-velocity?"></switch>
590+
<switch x="890" y="395" height="37" on="false" variable="visualize-signaling-molecule?" width="245" display="visualize-signaling-molecule?"></switch>
591+
<chooser x="885" y="82" height="60" variable="setup-choice" current="1" width="250" display="setup-choice">
605592
<choice type="string" value="single-nucleus"></choice>
606593
<choice type="string" value="multi-nucleate"></choice>
607594
<choice type="string" value="shortest-path"></choice>
608595
<choice type="string" value="clear"></choice>
609596
</chooser>
610-
<button x="50" y="419" height="33" disableUntilTicks="false" forever="false" kind="Observer" display="Reset Parameters" width="138" sizeVersion="0">default-parameters</button>
611-
<note x="846" y="33" height="34" backgroundDark="0" fontSize="14" width="186" markdown="false" textColorLight="-16777216" backgroundLight="0">ENVIRONMENT CONTROL</note>
612-
<note x="854" y="307" height="18" backgroundDark="0" fontSize="14" width="195" markdown="false" textColorLight="-16777216" backgroundLight="0">VISUALIZATION TOOLS</note>
597+
<button x="885" y="45" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="120">setup
598+
</button>
599+
<button x="1015" y="45" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="120">go</button>
600+
<chooser x="885" y="248" height="60" variable="draw-choice" current="2" width="250" display="draw-choice">
601+
<choice type="string" value="Wall"></choice>
602+
<choice type="string" value="Food"></choice>
603+
<choice type="string" value="Nucleus"></choice>
604+
</chooser>
605+
<note x="57" y="10" backgroundDark="0" fontSize="14" width="155" markdown="false" height="34" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">MODEL PARAMETERS</note>
606+
<note x="930" y="325" backgroundDark="0" fontSize="14" width="160" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">VISUALIZATION TOOLS</note>
607+
<note x="917" y="10" backgroundDark="0" fontSize="14" width="186" markdown="false" height="34" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">ENVIRONMENT CONTROL</note>
608+
<note x="5" y="40" backgroundDark="0" fontSize="12" width="189" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Fluid Volume / Tube Strength</note>
609+
<note x="5" y="220" backgroundDark="0" fontSize="12" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Nutritive Stimuli</note>
610+
<note x="5" y="400" backgroundDark="0" fontSize="12" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Fluid Movement</note>
611+
<switch x="1015" y="155" height="37" on="false" variable="eraser" width="120" display="eraser"></switch>
612+
<button x="885" y="155" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="120">draw</button>
613613
</widgets>
614614
<info><![CDATA[## WHAT IS IT?
615615

0 commit comments

Comments
 (0)