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
70 changes: 35 additions & 35 deletions Sample Models/Biology/Slime Mold Network.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[extensions[palette]

breed [nuclei nucleus]
Expand Down Expand Up @@ -571,45 +571,45 @@ end
; Copyright 2021 Uri Wilensky.
; See Info tab for full copyright and license.]]></code>
<widgets>
<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>
<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>
<button x="840" y="67" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="63" sizeVersion="0">setup
</button>
<button x="904" y="67" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="63" sizeVersion="0">go</button>
<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>
<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>
<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>
<switch x="933" y="185" height="33" on="false" variable="eraser" display="eraser" width="92" sizeVersion="0"></switch>
<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>
<button x="840" y="407" height="33" disableUntilTicks="false" forever="false" kind="Observer" display="Remove-Slime-Mold" width="183" sizeVersion="0">clear-turtles</button>
<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>
<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>
<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>
<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>
<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>
<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>
<switch x="840" y="339" height="33" on="false" variable="visualize-velocity?" display="visualize-velocity?" width="183" sizeVersion="0"></switch>
<chooser x="840" y="185" height="45" variable="draw-choice" current="2" display="draw-choice" width="92" sizeVersion="0">
<choice type="string" value="Wall"></choice>
<choice type="string" value="Food"></choice>
<choice type="string" value="Nucleus"></choice>
</chooser>
<button x="840" y="151" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="92" sizeVersion="0">draw</button>
<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>
<note x="36" y="322" height="18" backgroundDark="0" fontSize="12" width="150" markdown="false" textColorLight="-16777216" backgroundLight="0">Fluid Movement</note>
<note x="36" y="194" height="18" backgroundDark="0" fontSize="12" width="150" markdown="false" textColorLight="-16777216" backgroundLight="0">Nutritive Stimuli</note>
<note x="34" y="65" height="18" backgroundDark="0" fontSize="12" width="189" markdown="false" textColorLight="-16777216" backgroundLight="0">Fluid Volume / Tube Strength</note>
<note x="45" y="34" height="34" backgroundDark="0" fontSize="14" width="159" markdown="false" textColorLight="-16777216" backgroundLight="0">MODEL PARAMETERS</note>
<switch x="840" y="373" height="33" on="false" variable="visualize-signaling-molecule?" display="visualize-signaling-molecule?" width="183" sizeVersion="0"></switch>
<chooser x="840" y="102" height="45" variable="setup-choice" current="1" display="setup-choice" width="127" sizeVersion="0">
<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>
<button x="62" y="535" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="138" display="Reset Parameters">default-parameters</button>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<button x="890" y="433" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="245" display="Remove-Slime-Mold">clear-turtles</button>
<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>
<monitor x="890" precision="17" y="505" height="60" fontSize="11" width="245" display="Cytoplasmic Fluid Particles">count turtles with [breed = cytoplasm]</monitor>
<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>
<switch x="890" y="357" height="37" on="false" variable="visualize-velocity?" width="245" display="visualize-velocity?"></switch>
<switch x="890" y="395" height="37" on="false" variable="visualize-signaling-molecule?" width="245" display="visualize-signaling-molecule?"></switch>
<chooser x="885" y="82" height="60" variable="setup-choice" current="1" width="250" display="setup-choice">
<choice type="string" value="single-nucleus"></choice>
<choice type="string" value="multi-nucleate"></choice>
<choice type="string" value="shortest-path"></choice>
<choice type="string" value="clear"></choice>
</chooser>
<button x="50" y="419" height="33" disableUntilTicks="false" forever="false" kind="Observer" display="Reset Parameters" width="138" sizeVersion="0">default-parameters</button>
<note x="846" y="33" height="34" backgroundDark="0" fontSize="14" width="186" markdown="false" textColorLight="-16777216" backgroundLight="0">ENVIRONMENT CONTROL</note>
<note x="854" y="307" height="18" backgroundDark="0" fontSize="14" width="195" markdown="false" textColorLight="-16777216" backgroundLight="0">VISUALIZATION TOOLS</note>
<button x="885" y="45" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="120">setup
</button>
<button x="1015" y="45" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="120">go</button>
<chooser x="885" y="248" height="60" variable="draw-choice" current="2" width="250" display="draw-choice">
<choice type="string" value="Wall"></choice>
<choice type="string" value="Food"></choice>
<choice type="string" value="Nucleus"></choice>
</chooser>
<note x="57" y="10" backgroundDark="0" fontSize="14" width="155" markdown="false" height="34" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">MODEL PARAMETERS</note>
<note x="930" y="325" backgroundDark="0" fontSize="14" width="160" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">VISUALIZATION TOOLS</note>
<note x="917" y="10" backgroundDark="0" fontSize="14" width="186" markdown="false" height="34" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">ENVIRONMENT CONTROL</note>
<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>
<note x="5" y="220" backgroundDark="0" fontSize="12" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Nutritive Stimuli</note>
<note x="5" y="400" backgroundDark="0" fontSize="12" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Fluid Movement</note>
<switch x="1015" y="155" height="37" on="false" variable="eraser" width="120" display="eraser"></switch>
<button x="885" y="155" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="120">draw</button>
</widgets>
<info><![CDATA[## WHAT IS IT?

Expand Down
Loading