<?xml version="1.0" encoding="utf-8"?><model version="NetLogo 7.0.4" snapToGrid="false" nlw-version="2.15.3 (73db3270)">
  <code><![CDATA[; Healthcare access and geographic inequality (illustrative, uncalibrated)
; People live on patches. Some patches have a clinic. People need care
; periodically; if the nearest clinic is too far (or they cannot afford the
; travel cost) they delay care, their health declines, and they may die.
; Wealthier people can travel farther, so inequality in income produces
; inequality in access and health outcomes.

breed [ people person ]
patches-own [ clinic? ]

turtles-own [
  health        ; 0..100
  wealth        ; 0..100
  needs-care?   ; true when the person requires a clinic visit
  days-sick     ; how long they have been waiting for care
]

globals [
  total-deaths
  treatment-effect
]

to setup
  clear-all
  set total-deaths 0
  ; scatter clinics: one per cluster of patches
  ask patches [ set clinic? false ]
  let n-clinics max (list 1 (int (count patches / 400)))
  repeat n-clinics [
    ask one-of patches [ set clinic? true ]
  ]
  ; create people
  create-people initial-people [
    setxy random-xcor random-ycor
    set wealth random 100
    set health 100
    set needs-care? false
    set days-sick 0
    set color scale-color blue wealth 0 100
  ]
  recolor-patches
  reset-ticks
end

to go
  ask people [
    ; occasionally a health event makes care needed
    if not needs-care? and (random-float 100 < illness-rate) [
      set needs-care? true
      set days-sick 0
    ]
    if needs-care? [
      set days-sick days-sick + 1
      ; can this person reach a clinic?
      let d nearest-clinic-distance
      let affordable? (d <= max-travel-distance + wealth / 10)
      if affordable? [
        ; go to clinic (teleport for simplicity), get treated
        let c one-of patches with [ clinic? ]
        move-to c
        set health min (list 100 (health + treatment-effect))
        set needs-care? false
        set days-sick 0
      ]
      if not affordable? [
        ; waiting: health declines
        set health health - (health-decline-rate * (1 + days-sick / 20))
      ]
    ]
    ; slow natural recovery when healthy
    if not needs-care? [
      set health min (list 100 (health + 0.2))
    ]
    if health <= 0 [ die ]
  ]
  tick
end

to-report nearest-clinic-distance
  let clinics patches with [ clinic? ]
  if not any? clinics [ report 999 ]
  let nearest min-one-of clinics [ distance myself ]
  report distance nearest
end

to recolor-patches
  ask patches [
    if clinic? [ set pcolor 14 ]
    if not clinic? [ set pcolor 97 ]
  ]
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="10" y="100" max="200" width="220" display="initial-people" height="50" min="20" direction="Horizontal" default="80" variable="initial-people"/>
    <slider x="5" step="0.5" y="155" max="10" width="220" display="illness-rate" height="50" min="0" direction="Horizontal" default="2" variable="illness-rate" units="%/tick"/>
    <slider x="5" step="1" y="210" max="30" width="220" display="max-travel-distance" height="50" min="0" direction="Horizontal" default="10" variable="max-travel-distance" units="patches"/>
    <slider x="5" step="0.5" y="265" max="5" width="220" display="health-decline-rate" height="50" min="0" direction="Horizontal" default="1.5" variable="health-decline-rate" units="health/tick"/>
    <monitor x="5" precision="0" y="320" height="60" fontSize="11" width="220" display="People alive">count people</monitor>
    <monitor x="5" precision="0" y="385" height="60" fontSize="11" width="220" display="People needing care">count people with [ needs-care? ]</monitor>
    <monitor x="5" precision="1" y="450" height="60" fontSize="11" width="220" display="Average health">ifelse-value any? people [ mean [ health ] of people ] [ 0 ]</monitor>
    <monitor x="5" precision="0" y="515" height="60" fontSize="11" width="220" display="Total deaths">total-deaths + (initial-people - count people)</monitor>
    <plot x="230" autoPlotX="true" yMax="100" autoPlotY="true" yAxis="health" y="10" xMin="0" height="200" legend="true" xMax="200" yMin="0" width="220" xAxis="time" display="Health over time">
      <setup/>
      <update/>
      <pen interval="1" mode="0" display="average health" color="-10899396" legend="true">
        <setup/>
        <update>ifelse any? people [ plot mean [ health ] of people ] [ plot 0 ]</update>
      </pen>
      <pen interval="1" mode="0" display="people alive" color="-13345367" legend="true">
        <setup/>
        <update>plot count people</update>
      </pen>
    </plot>
    <note x="230" y="215" backgroundDark="0" fontSize="11" width="220" markdown="false" height="30" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Illustrative, uncalibrated model. Blue patches = clinics, green = no clinic. People (blue = poor, dark blue = rich) turn red as health declines. Wealthy people can travel farther to reach a clinic.</note>
  </widgets>
  <info># Healthcare Access and Geographic Inequality

**Category:** Health and Life Sciences
**Status:** Illustrative and uncalibrated. This is a teaching model, not a scientifically validated result.

## Mechanism

- The world is a grid of patches. A small number of patches host **clinics** (blue patches).
- **People** (turtles) are scattered across the world. Each person has:
  - `health` (0–100), starting at 100.
  - `wealth` (0–100), randomly assigned at setup. Wealth determines how far a person can travel to reach a clinic.
  - `needs-care?` — becomes true when a random health event occurs.
  - `days-sick` — how long the person has been waiting for care.
- Each tick, a person who does not need care has a small chance (`illness-rate`) of becoming sick.
- A sick person checks the distance to the nearest clinic. If that distance is within their **affordable travel range** (`max-travel-distance + wealth / 10`), they travel to the clinic, receive treatment (`treatment-effect` health restored), and recover.
- If the clinic is too far, the person **waits**. While waiting, their health declines at `health-decline-rate`, which accelerates the longer they wait.
- If health reaches 0, the person dies.
- Healthy people slowly recover a little each tick.

## Key insight

Because wealth extends travel range, **poorer people are more likely to be too far from a clinic** and therefore more likely to die. This produces geographic and socioeconomic inequality in health outcomes.

## Controls

| Widget | Meaning | Units |
|---|---|---|
| `initial-people` | Number of people created at setup | count |
| `illness-rate` | Chance per tick that a healthy person becomes sick | %/tick |
| `max-travel-distance` | Base distance a person can travel to a clinic | patches |
| `health-decline-rate` | Health lost per tick while waiting for care | health/tick |

## Monitors and plots

- **People alive** – current population.
- **People needing care** – how many are currently sick and waiting.
- **Average health** – mean health of all living people.
- **Total deaths** – cumulative deaths since setup.
- **Health over time** plot – average health (green) and population (blue).

## Assumptions and limitations

- Clinics are fixed and do not expand.
- People do not move except when traveling to a clinic.
- Wealth is fixed and only affects travel range, not treatment quality.
- There is no disease transmission; illness is random.
- The model is **illustrative and uncalibrated**; parameters are chosen for demonstration, not to match real data.
- World size is modest (41×41 patches) with a bounded population (20–200 people).
</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>