<?xml version="1.0" encoding="utf-8"?><model version="NetLogo 7.0.4" snapToGrid="false" nlw-version="2.15.3 (73db3270)">
  <code><![CDATA[breed [ people person ]
turtles-own [ opinion ]

globals [
  last-opinion-change
]

to setup
  clear-all
  create-people 60 [
    setxy random-xcor random-ycor
    set opinion random-float 1.0
    set color scale-color red opinion 0 1
    set size 1.5
  ]
  set last-opinion-change 0
  reset-ticks
end

to go
  ask people [
    let neighbors-list neighbors
    let others other people-on neighbors-list
    if any? others [
      let avg-opinion mean [ opinion ] of others
      ; bounded confidence: only influenced by neighbors close in opinion
      if abs (avg-opinion - opinion) < confidence [
        set opinion opinion + influence * (avg-opinion - opinion)
      ]
      ; small random noise keeps the system from freezing instantly
      set opinion opinion + (random-float 1.0 - 0.5) * noise
    ]
    ; keep opinion bounded in [0, 1]
    if opinion < 0 [ set opinion 0 ]
    if opinion > 1 [ set opinion 1 ]
    set color scale-color red opinion 0 1
  ]
  if any? people [ set last-opinion-change ticks ]
  tick
end

to-report polarization
  ; 0 = all agree, 1 = maximally split
  if not any? people [ report 0 ]
  let m mean [ opinion ] of people
  report 2 * abs (m - 0.5)
end

to-report mean-opinion
  if not any? people [ report 0 ]
  report mean [ opinion ] of people
end

to-report spread
  if not any? people [ report 0 ]
  report (max [ opinion ] of people) - (min [ opinion ] of people)
end
to-report share-with-neighbour
  if not any? people [ report 0 ]
  report count people with [ any? other people-on neighbors ] / count people
end

to-report cluster-count
  ; count opinion clusters: residents whose opinion is within 0.1 of nobody further than 0.1
  if not any? people [ report 0 ]
  let ops sort [ opinion ] of people
  let clusters 0
  let anchor first ops
  foreach ops [
    o -> if (o - anchor) > 0.1 [
      set clusters clusters + 1
      set anchor o
    ]
  ]
  report clusters + 1
end
]]></code>
  <widgets>
    <view x="460" wrappingAllowedX="true" y="10" frameRate="30" minPycor="-15" height="412" showTickCounter="true" patchSize="13" fontSize="10" wrappingAllowedY="true" width="411" tickCounterLabel="ticks" maxPycor="15" updateMode="0" maxPxcor="15" minPxcor="-15"/>
    <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="0.05" y="100" max="1" width="220" display="confidence" height="50" min="0" direction="Horizontal" default="0.3" variable="confidence" units="opinion distance"/>
    <slider x="5" step="0.05" y="155" max="1" width="220" display="influence" height="50" min="0" direction="Horizontal" default="0.5" variable="influence" units="fraction"/>
    <slider x="5" step="0.01" y="210" max="0.2" width="220" display="noise" height="50" min="0" direction="Horizontal" default="0.05" variable="noise" units="opinion units"/>
    <monitor x="5" precision="2" y="265" height="60" fontSize="11" width="220" display="Polarization">polarization</monitor>
    <monitor x="5" precision="2" y="330" height="60" fontSize="11" width="220" display="Mean opinion">mean-opinion</monitor>
    <monitor x="5" precision="2" y="395" height="60" fontSize="11" width="220" display="Opinion spread">spread</monitor>
    <plot x="230" autoPlotX="true" yMax="1" autoPlotY="true" yAxis="polarization" y="10" xMin="0" height="200" legend="true" xMax="200" yMin="0" width="220" xAxis="ticks" display="Polarization over time">
      <setup/>
      <update/>
      <pen interval="1" mode="0" display="Polarization" color="-2674135" legend="true">
        <setup/>
        <update>plot polarization</update>
      </pen>
      <pen interval="1" mode="0" display="Mean opinion" color="-13345367" legend="true">
        <setup/>
        <update>plot mean-opinion</update>
      </pen>
    </plot>
  </widgets>
  <info># Opinion Polarization

An **illustrative, uncalibrated** agent-based model of how opinions can drift toward the extremes (0 and 1) through local social influence. It is a teaching tool, not a scientifically validated result.

## Mechanism
- 60 agents are placed on a small toroidal (wrapping) 31x31 grid.
- Each agent holds an `opinion` in the range [0, 1] (0 = left, 1 = right).
- On every tick, each agent looks at the agents on its 8 neighboring patches.
- **Bounded confidence:** an agent is only influenced by the average opinion of its neighbors if that average is within `confidence` of its own opinion. This is the key mechanism: agents ignore those who disagree too strongly, which lets clusters form and prevents full consensus.
- **Influence:** when the bounded-confidence condition holds, the agent moves a fraction `influence` of the way toward the neighbors' average opinion.
- **Noise:** a small random perturbation (`noise`) is added each tick so the system does not freeze instantly and can explore.
- Opinions are clamped to [0, 1].

## Controls
- **Setup** – clears the world, creates 60 agents with random opinions, resets the clock.
- **Go** – runs the model one tick per step (forever button).
- **confidence** (0–1) – how far an agent's opinion can be from the neighbors' average before it ignores them. Low values → strong echo chambers; high values → more consensus.
- **influence** (0–1) – how strongly an agent moves toward the neighbors' average when influenced.
- **noise** (0–0.2) – random perturbation added each tick.

## Monitors and plot
- **Polarization** – 0 means everyone agrees, 1 means the population is maximally split (half at 0, half at 1).
- **Mean opinion** – the average opinion of all agents.
- **Opinion spread** – max opinion minus min opinion.
- **Plot** – polarization (red) and mean opinion (blue) over time.

## Assumptions and limitations
- Opinions are one-dimensional and continuous.
- Influence is symmetric and based only on the 8 spatial neighbors.
- There is no external information source, no media, no personality differences.
- The model is intentionally simple and **not calibrated** to any real population; results are illustrative only.
- With the default parameters the system tends to form two clusters near 0 and 1 (polarization), but outcomes depend on the random initial conditions and parameters.</info>
  <experiments>
    <experiment name="noise-sweep" repetitions="20" sequentialRunOrder="true" runMetricsEveryStep="false" timeLimit="300">
      <setup>setup</setup>
      <go>go</go>
      <metrics><metric>polarization</metric><metric>spread</metric><metric>mean-opinion</metric><metric>cluster-count</metric><metric>share-with-neighbour</metric></metrics>
    </experiment>
  </experiments>
  <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>