<?xml version="1.0" encoding="utf-8"?><model version="NetLogo 7.0.4" snapToGrid="false" nlw-version="2.15.3 (73db3270)">
  <code><![CDATA[; Crime patterns and community response (illustrative, uncalibrated)
; Patches are city blocks. Turtles are police patrols.
; Crime spreads like a contagion; patrols suppress it and deter spread.

patches-own [ crime ]

breed [ patrols patrol ]
turtles-own [ ]

globals [ total-crime criminal-blocks ]

to setup
  clear-all
  ask patches [ set crime 0 ]
  ; seed a few crime hotspots
  repeat 3 [
    ask one-of patches [
      set crime 1
      ask neighbors [ set crime max (list crime 0.5) ]
    ]
  ]
  create-patrols initial-patrols [
    setxy random-xcor random-ycor
    set color blue
    set size 1.5
  ]
  set total-crime 0
  reset-ticks
end

to go
  ; 1) crime spreads to nearby blocks (contagion)
  ;    two-phase update so a block's new value depends on its OLD neighbors
  ask patches [
    let old-crime crime
    let inflow 0
    let nb neighbors
    if any? nb [
      set inflow spread-rate * (sum [ crime ] of nb)
    ]
    set crime min (list 1 (old-crime + inflow))
  ]
  ; 2) natural decay of crime on blocks with no pressure
  ask patches with [ crime > 0 ] [
    set crime max (list 0 (crime - decay-rate))
  ]
  ; 3) patrols move toward the most criminal nearby block and suppress it
  ask patrols [
    let target max-one-of (neighbors) [ crime ]
    if target != nobody and [ crime ] of target > 0 [
      face target
      fd 1
    ]
    ; suppress crime on the block we are on
    let here-crime [ crime ] of patch-here
    if here-crime > 0 [
      set crime max (list 0 (here-crime - suppression))
    ]
  ]
  ; 4) record and advance
  set total-crime sum [ crime ] of patches
  set criminal-blocks count patches with [ crime > 0.1 ]
  tick
end]]></code>
  <widgets>
    <view x="460" wrappingAllowedX="true" y="10" frameRate="30" minPycor="-20" height="542" showTickCounter="true" patchSize="13" fontSize="10" wrappingAllowedY="true" width="541" tickCounterLabel="ticks" maxPycor="20" updateMode="0" maxPxcor="20" minPxcor="-20"/>
    <button x="5" y="10" height="40" disableUntilTicks="false" forever="false" kind="Observer" width="220" display="Setup">setup</button>
    <button x="5" y="55" height="40" disableUntilTicks="true" forever="true" kind="Observer" width="220" display="Go">go</button>
    <slider x="5" step="1" y="100" max="40" width="220" display="initial-patrols" height="50" min="0" direction="Horizontal" default="12" variable="initial-patrols" units="patrols"/>
    <slider x="5" step="0.05" y="155" max="0.5" width="220" display="spread-rate" height="50" min="0" direction="Horizontal" default="0.15" variable="spread-rate" units="per tick"/>
    <slider x="5" step="0.1" y="210" max="1" width="220" display="suppression" height="50" min="0" direction="Horizontal" default="0.4" variable="suppression" units="per tick"/>
    <slider x="5" step="0.02" y="265" max="0.2" width="220" display="decay-rate" height="50" min="0" direction="Horizontal" default="0.03" variable="decay-rate" units="per tick"/>
    <monitor x="5" precision="2" y="320" height="60" fontSize="11" width="220" display="Total crime">total-crime</monitor>
    <monitor x="5" precision="0" y="385" height="60" fontSize="11" width="220" display="Criminal blocks">criminal-blocks</monitor>
    <plot x="230" autoPlotX="true" yMax="30" autoPlotY="true" yAxis="crime" y="10" xMin="0" height="200" legend="true" xMax="200" yMin="0" width="220" xAxis="tick" display="Crime over time">
      <setup/>
      <update/>
      <pen interval="1" mode="0" display="Total crime" color="-2674135" legend="true">
        <setup/>
        <update>plot total-crime</update>
      </pen>
      <pen interval="1" mode="0" display="Criminal blocks" color="-13345367" legend="true">
        <setup/>
        <update>plot criminal-blocks</update>
      </pen>
    </plot>
  </widgets>
  <info># Crime patterns and community response

**Category:** Social Sciences
**Status:** Illustrative and uncalibrated. This is a teaching simulation, not a scientifically validated model of real crime.

## What it shows
A small city grid where crime behaves like a contagion: criminal activity on a block spreads to neighboring blocks, decays slowly on its own, and is suppressed by police patrols that move toward the most criminal nearby block. The model is meant to show how the *number* and *effectiveness* of patrols interact with the *rate* at which crime spreads, producing patterns such as hotspots, containment, or city-wide spread.

## How it works
- **Patches** are city blocks. Each has a `crime` value from 0 (safe) to 1 (fully criminal).
- **Patrols** (blue turtles) each tick face the most criminal neighboring block, move one step toward it, and reduce the crime on the block they occupy by `suppression`.
- **Spread:** every criminal block adds `spread-rate × its crime` to each neighbor (capped at 1).
- **Decay:** every criminal block loses `decay-rate` per tick (floored at 0).
- Setup seeds 3 small hotspots and places `initial-patrols` patrols at random.

## Controls
- **initial-patrols** (0–40): number of patrol units.
- **spread-rate** (0–0.5): how fast crime spreads to neighbors per tick.
- **suppression** (0–1): how much crime a patrol removes per tick.
- **decay-rate** (0–0.2): natural decay of crime per tick.

## Monitors and plot
- **Total crime:** sum of crime over all blocks.
- **Criminal blocks:** count of blocks with crime above 0.1.
- **Crime over time:** both quantities plotted per tick.

## Assumptions and limitations
- Crime is a single continuous quantity; no distinction between crime types, severity, or repeat offenders.
- Patrols are identical, always effective, and move one block per tick; no response time, budget, or shift changes.
- Spread is purely spatial and symmetric; no social, economic, or demographic drivers.
- The world is small (41×41 blocks) and the population bounded (≤40 patrols), so results are qualitative.
- Parameters are arbitrary and not fitted to any real city. Treat outputs as illustrative only.</info>
  <turtleShapes>
    <shape name="default" rotatable="true" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="150" y="5"/>
        <point x="40" y="250"/>
        <point x="150" y="205"/>
        <point x="260" y="250"/>
      </polygon>
    </shape>
    <shape name="airplane" rotatable="true" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="150" y="0"/>
        <point x="135" y="15"/>
        <point x="120" y="60"/>
        <point x="120" y="105"/>
        <point x="15" y="165"/>
        <point x="15" y="195"/>
        <point x="120" y="180"/>
        <point x="135" y="240"/>
        <point x="105" y="270"/>
        <point x="120" y="285"/>
        <point x="150" y="270"/>
        <point x="180" y="285"/>
        <point x="210" y="270"/>
        <point x="165" y="240"/>
        <point x="180" y="180"/>
        <point x="285" y="195"/>
        <point x="285" y="165"/>
        <point x="180" y="105"/>
        <point x="180" y="60"/>
        <point x="165" y="15"/>
      </polygon>
    </shape>
    <shape name="arrow" rotatable="true" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="150" y="0"/>
        <point x="0" y="150"/>
        <point x="105" y="150"/>
        <point x="105" y="293"/>
        <point x="195" y="293"/>
        <point x="195" y="150"/>
        <point x="300" y="150"/>
      </polygon>
    </shape>
    <shape name="box" rotatable="false" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="150" y="285"/>
        <point x="285" y="225"/>
        <point x="285" y="75"/>
        <point x="150" y="135"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="150" y="135"/>
        <point x="15" y="75"/>
        <point x="150" y="15"/>
        <point x="285" y="75"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="15" y="75"/>
        <point x="15" y="225"/>
        <point x="150" y="285"/>
        <point x="150" y="135"/>
      </polygon>
      <line endX="150" startY="285" marked="false" color="255" endY="135" startX="150"/>
      <line endX="15" startY="135" marked="false" color="255" endY="75" startX="150"/>
      <line endX="285" startY="135" marked="false" color="255" endY="75" startX="150"/>
    </shape>
    <shape name="bug" rotatable="true" editableColorIndex="0">
      <circle x="96" y="182" marked="true" color="-1920102913" diameter="108" filled="true"/>
      <circle x="110" y="127" marked="true" color="-1920102913" diameter="80" filled="true"/>
      <circle x="110" y="75" marked="true" color="-1920102913" diameter="80" filled="true"/>
      <line endX="80" startY="100" marked="true" color="-1920102913" endY="30" startX="150"/>
      <line endX="220" startY="100" marked="true" color="-1920102913" endY="30" startX="150"/>
    </shape>
    <shape name="butterfly" rotatable="true" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="150" y="165"/>
        <point x="209" y="199"/>
        <point x="225" y="225"/>
        <point x="225" y="255"/>
        <point x="195" y="270"/>
        <point x="165" y="255"/>
        <point x="150" y="240"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="150" y="165"/>
        <point x="89" y="198"/>
        <point x="75" y="225"/>
        <point x="75" y="255"/>
        <point x="105" y="270"/>
        <point x="135" y="255"/>
        <point x="150" y="240"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="139" y="148"/>
        <point x="100" y="105"/>
        <point x="55" y="90"/>
        <point x="25" y="90"/>
        <point x="10" y="105"/>
        <point x="10" y="135"/>
        <point x="25" y="180"/>
        <point x="40" y="195"/>
        <point x="85" y="194"/>
        <point x="139" y="163"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="162" y="150"/>
        <point x="200" y="105"/>
        <point x="245" y="90"/>
        <point x="275" y="90"/>
        <point x="290" y="105"/>
        <point x="290" y="135"/>
        <point x="275" y="180"/>
        <point x="260" y="195"/>
        <point x="215" y="195"/>
        <point x="162" y="165"/>
      </polygon>
      <polygon color="255" filled="true" marked="false">
        <point x="150" y="255"/>
        <point x="135" y="225"/>
        <point x="120" y="150"/>
        <point x="135" y="120"/>
        <point x="150" y="105"/>
        <point x="165" y="120"/>
        <point x="180" y="150"/>
        <point x="165" y="225"/>
      </polygon>
      <circle x="135" y="90" marked="false" color="255" diameter="30" filled="true"/>
      <line endX="195" startY="105" marked="false" color="255" endY="60" startX="150"/>
      <line endX="105" startY="105" marked="false" color="255" endY="60" startX="150"/>
    </shape>
    <shape name="car" rotatable="false" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="300" y="180"/>
        <point x="279" y="164"/>
        <point x="261" y="144"/>
        <point x="240" y="135"/>
        <point x="226" y="132"/>
        <point x="213" y="106"/>
        <point x="203" y="84"/>
        <point x="185" y="63"/>
        <point x="159" y="50"/>
        <point x="135" y="50"/>
        <point x="75" y="60"/>
        <point x="0" y="150"/>
        <point x="0" y="165"/>
        <point x="0" y="225"/>
        <point x="300" y="225"/>
        <point x="300" y="180"/>
      </polygon>
      <circle x="180" y="180" marked="false" color="255" diameter="90" filled="true"/>
      <circle x="30" y="180" marked="false" color="255" diameter="90" filled="true"/>
      <polygon color="255" filled="true" marked="false">
        <point x="162" y="80"/>
        <point x="132" y="78"/>
        <point x="134" y="135"/>
        <point x="209" y="135"/>
        <point x="194" y="105"/>
        <point x="189" y="96"/>
        <point x="180" y="89"/>
      </polygon>
      <circle x="47" y="195" marked="true" color="-1920102913" diameter="58" filled="true"/>
      <circle x="195" y="195" marked="true" color="-1920102913" diameter="58" filled="true"/>
    </shape>
    <shape name="circle" rotatable="false" editableColorIndex="0">
      <circle x="0" y="0" marked="true" color="-1920102913" diameter="300" filled="true"/>
    </shape>
    <shape name="circle 2" rotatable="false" editableColorIndex="0">
      <circle x="0" y="0" marked="true" color="-1920102913" diameter="300" filled="true"/>
      <circle x="30" y="30" marked="false" color="255" diameter="240" filled="true"/>
    </shape>
    <shape name="cow" rotatable="false" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="200" y="193"/>
        <point x="197" y="249"/>
        <point x="179" y="249"/>
        <point x="177" y="196"/>
        <point x="166" y="187"/>
        <point x="140" y="189"/>
        <point x="93" y="191"/>
        <point x="78" y="179"/>
        <point x="72" y="211"/>
        <point x="49" y="209"/>
        <point x="48" y="181"/>
        <point x="37" y="149"/>
        <point x="25" y="120"/>
        <point x="25" y="89"/>
        <point x="45" y="72"/>
        <point x="103" y="84"/>
        <point x="179" y="75"/>
        <point x="198" y="76"/>
        <point x="252" y="64"/>
        <point x="272" y="81"/>
        <point x="293" y="103"/>
        <point x="285" y="121"/>
        <point x="255" y="121"/>
        <point x="242" y="118"/>
        <point x="224" y="167"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="73" y="210"/>
        <point x="86" y="251"/>
        <point x="62" y="249"/>
        <point x="48" y="208"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="25" y="114"/>
        <point x="16" y="195"/>
        <point x="9" y="204"/>
        <point x="23" y="213"/>
        <point x="25" y="200"/>
        <point x="39" y="123"/>
      </polygon>
    </shape>
    <shape name="cylinder" rotatable="false" editableColorIndex="0">
      <circle x="0" y="0" marked="true" color="-1920102913" diameter="300" filled="true"/>
    </shape>
    <shape name="dot" rotatable="false" editableColorIndex="0">
      <circle x="90" y="90" marked="true" color="-1920102913" diameter="120" filled="true"/>
    </shape>
    <shape name="face happy" rotatable="false" editableColorIndex="0">
      <circle x="8" y="8" marked="true" color="-1920102913" diameter="285" filled="true"/>
      <circle x="60" y="75" marked="false" color="255" diameter="60" filled="true"/>
      <circle x="180" y="75" marked="false" color="255" diameter="60" filled="true"/>
      <polygon color="255" filled="true" marked="false">
        <point x="150" y="255"/>
        <point x="90" y="239"/>
        <point x="62" y="213"/>
        <point x="47" y="191"/>
        <point x="67" y="179"/>
        <point x="90" y="203"/>
        <point x="109" y="218"/>
        <point x="150" y="225"/>
        <point x="192" y="218"/>
        <point x="210" y="203"/>
        <point x="227" y="181"/>
        <point x="251" y="194"/>
        <point x="236" y="217"/>
        <point x="212" y="240"/>
      </polygon>
    </shape>
    <shape name="face neutral" rotatable="false" editableColorIndex="0">
      <circle x="8" y="7" marked="true" color="-1920102913" diameter="285" filled="true"/>
      <circle x="60" y="75" marked="false" color="255" diameter="60" filled="true"/>
      <circle x="180" y="75" marked="false" color="255" diameter="60" filled="true"/>
      <rectangle endX="240" startY="195" marked="false" color="255" endY="225" startX="60" filled="true"/>
    </shape>
    <shape name="face sad" rotatable="false" editableColorIndex="0">
      <circle x="8" y="8" marked="true" color="-1920102913" diameter="285" filled="true"/>
      <circle x="60" y="75" marked="false" color="255" diameter="60" filled="true"/>
      <circle x="180" y="75" marked="false" color="255" diameter="60" filled="true"/>
      <polygon color="255" filled="true" marked="false">
        <point x="150" y="168"/>
        <point x="90" y="184"/>
        <point x="62" y="210"/>
        <point x="47" y="232"/>
        <point x="67" y="244"/>
        <point x="90" y="220"/>
        <point x="109" y="205"/>
        <point x="150" y="198"/>
        <point x="192" y="205"/>
        <point x="210" y="220"/>
        <point x="227" y="242"/>
        <point x="251" y="229"/>
        <point x="236" y="206"/>
        <point x="212" y="183"/>
      </polygon>
    </shape>
    <shape name="fish" rotatable="false" editableColorIndex="0">
      <polygon color="-1" filled="true" marked="false">
        <point x="44" y="131"/>
        <point x="21" y="87"/>
        <point x="15" y="86"/>
        <point x="0" y="120"/>
        <point x="15" y="150"/>
        <point x="0" y="180"/>
        <point x="13" y="214"/>
        <point x="20" y="212"/>
        <point x="45" y="166"/>
      </polygon>
      <polygon color="-1" filled="true" marked="false">
        <point x="135" y="195"/>
        <point x="119" y="235"/>
        <point x="95" y="218"/>
        <point x="76" y="210"/>
        <point x="46" y="204"/>
        <point x="60" y="165"/>
      </polygon>
      <polygon color="-1" filled="true" marked="false">
        <point x="75" y="45"/>
        <point x="83" y="77"/>
        <point x="71" y="103"/>
        <point x="86" y="114"/>
        <point x="166" y="78"/>
        <point x="135" y="60"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="30" y="136"/>
        <point x="151" y="77"/>
        <point x="226" y="81"/>
        <point x="280" y="119"/>
        <point x="292" y="146"/>
        <point x="292" y="160"/>
        <point x="287" y="170"/>
        <point x="270" y="195"/>
        <point x="195" y="210"/>
        <point x="151" y="212"/>
        <point x="30" y="166"/>
      </polygon>
      <circle x="215" y="106" marked="false" color="255" diameter="30" filled="true"/>
    </shape>
    <shape name="flag" rotatable="false" editableColorIndex="0">
      <rectangle endX="75" startY="15" marked="true" color="-1920102913" endY="300" startX="60" filled="true"/>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="90" y="150"/>
        <point x="270" y="90"/>
        <point x="90" y="30"/>
      </polygon>
      <line endX="90" startY="135" marked="true" color="-1920102913" endY="135" startX="75"/>
      <line endX="90" startY="45" marked="true" color="-1920102913" endY="45" startX="75"/>
    </shape>
    <shape name="flower" rotatable="false" editableColorIndex="0">
      <polygon color="1504722175" filled="true" marked="false">
        <point x="135" y="120"/>
        <point x="165" y="165"/>
        <point x="180" y="210"/>
        <point x="180" y="240"/>
        <point x="150" y="300"/>
        <point x="165" y="300"/>
        <point x="195" y="240"/>
        <point x="195" y="195"/>
        <point x="165" y="135"/>
      </polygon>
      <circle x="85" y="132" marked="true" color="-1920102913" diameter="38" filled="true"/>
      <circle x="130" y="147" marked="true" color="-1920102913" diameter="38" filled="true"/>
      <circle x="192" y="85" marked="true" color="-1920102913" diameter="38" filled="true"/>
      <circle x="85" y="40" marked="true" color="-1920102913" diameter="38" filled="true"/>
      <circle x="177" y="40" marked="true" color="-1920102913" diameter="38" filled="true"/>
      <circle x="177" y="132" marked="true" color="-1920102913" diameter="38" filled="true"/>
      <circle x="70" y="85" marked="true" color="-1920102913" diameter="38" filled="true"/>
      <circle x="130" y="25" marked="true" color="-1920102913" diameter="38" filled="true"/>
      <circle x="96" y="51" marked="true" color="-1920102913" diameter="108" filled="true"/>
      <circle x="113" y="68" marked="false" color="255" diameter="74" filled="true"/>
      <polygon color="1504722175" filled="true" marked="false">
        <point x="189" y="233"/>
        <point x="219" y="188"/>
        <point x="249" y="173"/>
        <point x="279" y="188"/>
        <point x="234" y="218"/>
      </polygon>
      <polygon color="1504722175" filled="true" marked="false">
        <point x="180" y="255"/>
        <point x="150" y="210"/>
        <point x="105" y="210"/>
        <point x="75" y="240"/>
        <point x="135" y="240"/>
      </polygon>
    </shape>
    <shape name="house" rotatable="false" editableColorIndex="0">
      <rectangle endX="255" startY="120" marked="true" color="-1920102913" endY="285" startX="45" filled="true"/>
      <rectangle endX="180" startY="210" marked="false" color="255" endY="285" startX="120" filled="true"/>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="15" y="120"/>
        <point x="150" y="15"/>
        <point x="285" y="120"/>
      </polygon>
      <line endX="270" startY="120" marked="false" color="255" endY="120" startX="30"/>
    </shape>
    <shape name="leaf" rotatable="false" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="150" y="210"/>
        <point x="135" y="195"/>
        <point x="120" y="210"/>
        <point x="60" y="210"/>
        <point x="30" y="195"/>
        <point x="60" y="180"/>
        <point x="60" y="165"/>
        <point x="15" y="135"/>
        <point x="30" y="120"/>
        <point x="15" y="105"/>
        <point x="40" y="104"/>
        <point x="45" y="90"/>
        <point x="60" y="90"/>
        <point x="90" y="105"/>
        <point x="105" y="120"/>
        <point x="120" y="120"/>
        <point x="105" y="60"/>
        <point x="120" y="60"/>
        <point x="135" y="30"/>
        <point x="150" y="15"/>
        <point x="165" y="30"/>
        <point x="180" y="60"/>
        <point x="195" y="60"/>
        <point x="180" y="120"/>
        <point x="195" y="120"/>
        <point x="210" y="105"/>
        <point x="240" y="90"/>
        <point x="255" y="90"/>
        <point x="263" y="104"/>
        <point x="285" y="105"/>
        <point x="270" y="120"/>
        <point x="285" y="135"/>
        <point x="240" y="165"/>
        <point x="240" y="180"/>
        <point x="270" y="195"/>
        <point x="240" y="210"/>
        <point x="180" y="210"/>
        <point x="165" y="195"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="135" y="195"/>
        <point x="135" y="240"/>
        <point x="120" y="255"/>
        <point x="105" y="255"/>
        <point x="105" y="285"/>
        <point x="135" y="285"/>
        <point x="165" y="240"/>
        <point x="165" y="195"/>
      </polygon>
    </shape>
    <shape name="line" rotatable="true" editableColorIndex="0">
      <line endX="150" startY="0" marked="true" color="-1920102913" endY="300" startX="150"/>
    </shape>
    <shape name="line half" rotatable="true" editableColorIndex="0">
      <line endX="150" startY="0" marked="true" color="-1920102913" endY="150" startX="150"/>
    </shape>
    <shape name="pentagon" rotatable="false" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="150" y="15"/>
        <point x="15" y="120"/>
        <point x="60" y="285"/>
        <point x="240" y="285"/>
        <point x="285" y="120"/>
      </polygon>
    </shape>
    <shape name="person" rotatable="false" editableColorIndex="0">
      <circle x="110" y="5" marked="true" color="-1920102913" diameter="80" filled="true"/>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="105" y="90"/>
        <point x="120" y="195"/>
        <point x="90" y="285"/>
        <point x="105" y="300"/>
        <point x="135" y="300"/>
        <point x="150" y="225"/>
        <point x="165" y="300"/>
        <point x="195" y="300"/>
        <point x="210" y="285"/>
        <point x="180" y="195"/>
        <point x="195" y="90"/>
      </polygon>
      <rectangle endX="172" startY="79" marked="true" color="-1920102913" endY="94" startX="127" filled="true"/>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="195" y="90"/>
        <point x="240" y="150"/>
        <point x="225" y="180"/>
        <point x="165" y="105"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="105" y="90"/>
        <point x="60" y="150"/>
        <point x="75" y="180"/>
        <point x="135" y="105"/>
      </polygon>
    </shape>
    <shape name="plant" rotatable="false" editableColorIndex="0">
      <rectangle endX="165" startY="90" marked="true" color="-1920102913" endY="300" startX="135" filled="true"/>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="135" y="255"/>
        <point x="90" y="210"/>
        <point x="45" y="195"/>
        <point x="75" y="255"/>
        <point x="135" y="285"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="165" y="255"/>
        <point x="210" y="210"/>
        <point x="255" y="195"/>
        <point x="225" y="255"/>
        <point x="165" y="285"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="135" y="180"/>
        <point x="90" y="135"/>
        <point x="45" y="120"/>
        <point x="75" y="180"/>
        <point x="135" y="210"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="165" y="180"/>
        <point x="165" y="210"/>
        <point x="225" y="180"/>
        <point x="255" y="120"/>
        <point x="210" y="135"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="135" y="105"/>
        <point x="90" y="60"/>
        <point x="45" y="45"/>
        <point x="75" y="105"/>
        <point x="135" y="135"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="165" y="105"/>
        <point x="165" y="135"/>
        <point x="225" y="105"/>
        <point x="255" y="45"/>
        <point x="210" y="60"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="135" y="90"/>
        <point x="120" y="45"/>
        <point x="150" y="15"/>
        <point x="180" y="45"/>
        <point x="165" y="90"/>
      </polygon>
    </shape>
    <shape name="sheep" rotatable="false" editableColorIndex="15">
      <circle x="203" y="65" marked="true" color="-1" diameter="88" filled="true"/>
      <circle x="70" y="65" marked="true" color="-1" diameter="162" filled="true"/>
      <circle x="150" y="105" marked="true" color="-1" diameter="120" filled="true"/>
      <polygon color="-1920102913" filled="true" marked="false">
        <point x="218" y="120"/>
        <point x="240" y="165"/>
        <point x="255" y="165"/>
        <point x="278" y="120"/>
      </polygon>
      <circle x="214" y="72" marked="false" color="-1920102913" diameter="67" filled="true"/>
      <rectangle endX="179" startY="223" marked="true" color="-1" endY="298" startX="164" filled="true"/>
      <polygon color="-1" filled="true" marked="true">
        <point x="45" y="285"/>
        <point x="30" y="285"/>
        <point x="30" y="240"/>
        <point x="15" y="195"/>
        <point x="45" y="210"/>
      </polygon>
      <circle x="3" y="83" marked="true" color="-1" diameter="150" filled="true"/>
      <rectangle endX="80" startY="221" marked="true" color="-1" endY="296" startX="65" filled="true"/>
      <polygon color="-1" filled="true" marked="true">
        <point x="195" y="285"/>
        <point x="210" y="285"/>
        <point x="210" y="240"/>
        <point x="240" y="210"/>
        <point x="195" y="210"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="false">
        <point x="276" y="85"/>
        <point x="285" y="105"/>
        <point x="302" y="99"/>
        <point x="294" y="83"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="false">
        <point x="219" y="85"/>
        <point x="210" y="105"/>
        <point x="193" y="99"/>
        <point x="201" y="83"/>
      </polygon>
    </shape>
    <shape name="square" rotatable="false" editableColorIndex="0">
      <rectangle endX="270" startY="30" marked="true" color="-1920102913" endY="270" startX="30" filled="true"/>
    </shape>
    <shape name="square 2" rotatable="false" editableColorIndex="0">
      <rectangle endX="270" startY="30" marked="true" color="-1920102913" endY="270" startX="30" filled="true"/>
      <rectangle endX="240" startY="60" marked="false" color="255" endY="240" startX="60" filled="true"/>
    </shape>
    <shape name="star" rotatable="false" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="151" y="1"/>
        <point x="185" y="108"/>
        <point x="298" y="108"/>
        <point x="207" y="175"/>
        <point x="242" y="282"/>
        <point x="151" y="216"/>
        <point x="59" y="282"/>
        <point x="94" y="175"/>
        <point x="3" y="108"/>
        <point x="116" y="108"/>
      </polygon>
    </shape>
    <shape name="target" rotatable="false" editableColorIndex="0">
      <circle x="0" y="0" marked="true" color="-1920102913" diameter="300" filled="true"/>
      <circle x="30" y="30" marked="false" color="255" diameter="240" filled="true"/>
      <circle x="60" y="60" marked="true" color="-1920102913" diameter="180" filled="true"/>
      <circle x="90" y="90" marked="false" color="255" diameter="120" filled="true"/>
      <circle x="120" y="120" marked="true" color="-1920102913" diameter="60" filled="true"/>
    </shape>
    <shape name="tree" rotatable="false" editableColorIndex="0">
      <circle x="118" y="3" marked="true" color="-1920102913" diameter="94" filled="true"/>
      <rectangle endX="180" startY="195" marked="false" color="-1653716737" endY="300" startX="120" filled="true"/>
      <circle x="65" y="21" marked="true" color="-1920102913" diameter="108" filled="true"/>
      <circle x="116" y="41" marked="true" color="-1920102913" diameter="127" filled="true"/>
      <circle x="45" y="90" marked="true" color="-1920102913" diameter="120" filled="true"/>
      <circle x="104" y="74" marked="true" color="-1920102913" diameter="152" filled="true"/>
    </shape>
    <shape name="triangle" rotatable="false" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="150" y="30"/>
        <point x="15" y="255"/>
        <point x="285" y="255"/>
      </polygon>
    </shape>
    <shape name="triangle 2" rotatable="false" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="150" y="30"/>
        <point x="15" y="255"/>
        <point x="285" y="255"/>
      </polygon>
      <polygon color="255" filled="true" marked="false">
        <point x="151" y="99"/>
        <point x="225" y="223"/>
        <point x="75" y="224"/>
      </polygon>
    </shape>
    <shape name="truck" rotatable="false" editableColorIndex="0">
      <rectangle endX="195" startY="45" marked="true" color="-1920102913" endY="187" startX="4" filled="true"/>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="296" y="193"/>
        <point x="296" y="150"/>
        <point x="259" y="134"/>
        <point x="244" y="104"/>
        <point x="208" y="104"/>
        <point x="207" y="194"/>
      </polygon>
      <rectangle endX="195" startY="60" marked="false" color="-1" endY="105" startX="195" filled="true"/>
      <polygon color="255" filled="true" marked="false">
        <point x="238" y="112"/>
        <point x="252" y="141"/>
        <point x="219" y="141"/>
        <point x="218" y="112"/>
      </polygon>
      <circle x="234" y="174" marked="false" color="255" diameter="42" filled="true"/>
      <rectangle endX="214" startY="185" marked="true" color="-1920102913" endY="194" startX="181" filled="true"/>
      <circle x="144" y="174" marked="false" color="255" diameter="42" filled="true"/>
      <circle x="24" y="174" marked="false" color="255" diameter="42" filled="true"/>
      <circle x="24" y="174" marked="true" color="-1920102913" diameter="42" filled="false"/>
      <circle x="144" y="174" marked="true" color="-1920102913" diameter="42" filled="false"/>
      <circle x="234" y="174" marked="true" color="-1920102913" diameter="42" filled="false"/>
    </shape>
    <shape name="turtle" rotatable="true" editableColorIndex="0">
      <polygon color="1504722175" filled="true" marked="false">
        <point x="215" y="204"/>
        <point x="240" y="233"/>
        <point x="246" y="254"/>
        <point x="228" y="266"/>
        <point x="215" y="252"/>
        <point x="193" y="210"/>
      </polygon>
      <polygon color="1504722175" filled="true" marked="false">
        <point x="195" y="90"/>
        <point x="225" y="75"/>
        <point x="245" y="75"/>
        <point x="260" y="89"/>
        <point x="269" y="108"/>
        <point x="261" y="124"/>
        <point x="240" y="105"/>
        <point x="225" y="105"/>
        <point x="210" y="105"/>
      </polygon>
      <polygon color="1504722175" filled="true" marked="false">
        <point x="105" y="90"/>
        <point x="75" y="75"/>
        <point x="55" y="75"/>
        <point x="40" y="89"/>
        <point x="31" y="108"/>
        <point x="39" y="124"/>
        <point x="60" y="105"/>
        <point x="75" y="105"/>
        <point x="90" y="105"/>
      </polygon>
      <polygon color="1504722175" filled="true" marked="false">
        <point x="132" y="85"/>
        <point x="134" y="64"/>
        <point x="107" y="51"/>
        <point x="108" y="17"/>
        <point x="150" y="2"/>
        <point x="192" y="18"/>
        <point x="192" y="52"/>
        <point x="169" y="65"/>
        <point x="172" y="87"/>
      </polygon>
      <polygon color="1504722175" filled="true" marked="false">
        <point x="85" y="204"/>
        <point x="60" y="233"/>
        <point x="54" y="254"/>
        <point x="72" y="266"/>
        <point x="85" y="252"/>
        <point x="107" y="210"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="119" y="75"/>
        <point x="179" y="75"/>
        <point x="209" y="101"/>
        <point x="224" y="135"/>
        <point x="220" y="225"/>
        <point x="175" y="261"/>
        <point x="128" y="261"/>
        <point x="81" y="224"/>
        <point x="74" y="135"/>
        <point x="88" y="99"/>
      </polygon>
    </shape>
    <shape name="wheel" rotatable="false" editableColorIndex="0">
      <circle x="3" y="3" marked="true" color="-1920102913" diameter="294" filled="true"/>
      <circle x="30" y="30" marked="false" color="255" diameter="240" filled="true"/>
      <line endX="150" startY="285" marked="true" color="-1920102913" endY="15" startX="150"/>
      <line endX="285" startY="150" marked="true" color="-1920102913" endY="150" startX="15"/>
      <circle x="120" y="120" marked="true" color="-1920102913" diameter="60" filled="true"/>
      <line endX="79" startY="40" marked="true" color="-1920102913" endY="269" startX="216"/>
      <line endX="269" startY="84" marked="true" color="-1920102913" endY="221" startX="40"/>
      <line endX="269" startY="216" marked="true" color="-1920102913" endY="79" startX="40"/>
      <line endX="221" startY="40" marked="true" color="-1920102913" endY="269" startX="84"/>
    </shape>
    <shape name="wolf" rotatable="false" editableColorIndex="0">
      <polygon color="255" filled="true" marked="false">
        <point x="253" y="133"/>
        <point x="245" y="131"/>
        <point x="245" y="133"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="2" y="194"/>
        <point x="13" y="197"/>
        <point x="30" y="191"/>
        <point x="38" y="193"/>
        <point x="38" y="205"/>
        <point x="20" y="226"/>
        <point x="20" y="257"/>
        <point x="27" y="265"/>
        <point x="38" y="266"/>
        <point x="40" y="260"/>
        <point x="31" y="253"/>
        <point x="31" y="230"/>
        <point x="60" y="206"/>
        <point x="68" y="198"/>
        <point x="75" y="209"/>
        <point x="66" y="228"/>
        <point x="65" y="243"/>
        <point x="82" y="261"/>
        <point x="84" y="268"/>
        <point x="100" y="267"/>
        <point x="103" y="261"/>
        <point x="77" y="239"/>
        <point x="79" y="231"/>
        <point x="100" y="207"/>
        <point x="98" y="196"/>
        <point x="119" y="201"/>
        <point x="143" y="202"/>
        <point x="160" y="195"/>
        <point x="166" y="210"/>
        <point x="172" y="213"/>
        <point x="173" y="238"/>
        <point x="167" y="251"/>
        <point x="160" y="248"/>
        <point x="154" y="265"/>
        <point x="169" y="264"/>
        <point x="178" y="247"/>
        <point x="186" y="240"/>
        <point x="198" y="260"/>
        <point x="200" y="271"/>
        <point x="217" y="271"/>
        <point x="219" y="262"/>
        <point x="207" y="258"/>
        <point x="195" y="230"/>
        <point x="192" y="198"/>
        <point x="210" y="184"/>
        <point x="227" y="164"/>
        <point x="242" y="144"/>
        <point x="259" y="145"/>
        <point x="284" y="151"/>
        <point x="277" y="141"/>
        <point x="293" y="140"/>
        <point x="299" y="134"/>
        <point x="297" y="127"/>
        <point x="273" y="119"/>
        <point x="270" y="105"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="-1" y="195"/>
        <point x="14" y="180"/>
        <point x="36" y="166"/>
        <point x="40" y="153"/>
        <point x="53" y="140"/>
        <point x="82" y="131"/>
        <point x="134" y="133"/>
        <point x="159" y="126"/>
        <point x="188" y="115"/>
        <point x="227" y="108"/>
        <point x="236" y="102"/>
        <point x="238" y="98"/>
        <point x="268" y="86"/>
        <point x="269" y="92"/>
        <point x="281" y="87"/>
        <point x="269" y="103"/>
        <point x="269" y="113"/>
      </polygon>
    </shape>
    <shape name="x" rotatable="false" editableColorIndex="0">
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="270" y="75"/>
        <point x="225" y="30"/>
        <point x="30" y="225"/>
        <point x="75" y="270"/>
      </polygon>
      <polygon color="-1920102913" filled="true" marked="true">
        <point x="30" y="75"/>
        <point x="75" y="30"/>
        <point x="270" y="225"/>
        <point x="225" y="270"/>
      </polygon>
    </shape>
  </turtleShapes>
  <linkShapes>
    <shape name="default" curviness="0">
      <lines>
        <line x="-0.2" visible="false">
          <dash value="0"/>
          <dash value="1"/>
        </line>
        <line x="0" visible="true">
          <dash value="1"/>
          <dash value="0"/>
        </line>
        <line x="0.2" visible="false">
          <dash value="0"/>
          <dash value="1"/>
        </line>
      </lines>
      <indicator>
        <shape name="link direction" rotatable="true" editableColorIndex="0">
          <line endX="90" startY="150" marked="true" color="-1920102913" endY="180" startX="150"/>
          <line endX="210" startY="150" marked="true" color="-1920102913" endY="180" startX="150"/>
        </shape>
      </indicator>
    </shape>
  </linkShapes>
  <previewCommands>setup repeat 75 [ go ]</previewCommands>
</model>