NetLogo banner

Home
Download
Help
Forum
Resources
Extensions
FAQ
NetLogo Publications
Contact Us
Donate

Models:
Library
Community
Modeling Commons

Beginners Interactive NetLogo Dictionary (BIND)
NetLogo Dictionary

User Manuals:
Web
Printable
Chinese
Czech
Farsi / Persian
Japanese
Spanish

  Donate

NetLogo Models Library

If you download NetLogo, all of the models in the models library are included. You may also run the models here, in your browser.

Sample Models are the most carefully checked models we have. They are intended to be examples of good coding and documentation practice. Models marked "unverified" are also complete and functional, but are still in the process of being reviewed for content, accuracy, and quality of code.

Curricular Models are associated with curricula developed at the CCL. They may also appear, sometimes in a slightly different form, in Sample Models. For information on the curricula, see the CCL home page.

HubNet Activities are for use with our HubNet participatory simulation architecture.

"NetLogo User Community Models" are models contributed from the user community to be shared with other NetLogo users. They are not included with NetLogo, but are available on the web.

How to Contribute and/or share your models

We encourage users to share your models with the NetLogo user community. Contributed models will be credited to the author. You may now upload your models through our web site. The web site will automatically create a web page for your model. If you wish to do so, try our NetLogo Model Upload Page. We have also added a URL submission page, if you prefer to host the model yourself, Model URL Submission Page

You may also wish to send us your models for possible inclusion in the Models Library.

Separately, you can also upload, share, and collaboratively build models to the new NetLogo Modeling Commons.


Sample Models

  Art
  Diffusion Graphics
  Fireworks
  Follower
  GenJam - Duple
  Geometron Top-Down
  Kaleidoscope
  Optical Illusions
  Sound Machines
  Biology
  Ant Lines
  Ants
  Autumn
  BeeSmart Hive Finding
  Blood Sugar Regulation
   CRISPR
   CRISPR Bacterium LevelSpace
   CRISPR Bacterium
   CRISPR Ecosystem LevelSpace
   CRISPR Ecosystem
  Chloroplasts and Food
  Daisyworld
  Disease Solo
   Evolution
   Anisogamy
   Bacterial Infection
   Baldwin Effect
   Bug Hunt Camouflage
   Bug Hunt Speeds
   Echo
    Genetic Drift
    GenDrift P global
    GenDrift P local
    GenDrift T interact
    GenDrift T reproduce
   Mammoths
   Mimicry
   Peppered Moths
   Sex Ratio Equilibrium
   Sunflower Biomorphs
   Vision Evolution
   Wolf Sheep Stride Inheritance
  Fairy Circles
  Fireflies
  Flocking Vee Formations
  Flocking
  Food Reward Learning
  Fur
  HIV
  Heatbugs
  Honeycomb
  Membrane Formation
  Moths
  Muscle Development
  Rabbits Grass Weeds
  Repressilator 1D
  Rock Paper Scissors
  Shepherds
  Simple Birth Rates
  Slime Mold Network
  Slime
  Sunflower Emergent
  Sunflower
  Termites
  Tumor
  Algae (unverified)
  Plant Growth (unverified)
  Virus Using Discrete Event Simulator
  Virus
  Wolf Sheep Predation
  Chemistry & Physics
  Boiling
  Chaos in a Box
   Chemical Reactions
    Acids and Bases
    Buffer
    Strong Acid
    Diprotic Acid (unverified)
    Weak Acid
   B-Z Reaction
   Chemical Equilibrium
   Enzyme Kinetics
   Radical Polymerization
   Simple Kinetics 1
   Simple Kinetics 2
   Simple Kinetics 3
   Diffusion Limited Aggregation
   DLA Alternate Linear
   DLA Alternate
   DLA
  Gas Chromatography
   GasLab
   GasLab Adiabatic Piston
   GasLab Atmosphere
   GasLab Circular Particles
   GasLab Free Gas
   GasLab Gas in a Box
   GasLab Gravity Box
   GasLab Isothermal Piston
   GasLab Maxwells Demon
   GasLab Single Collision
   GasLab Two Gas
   GasLab Heat Box (unverified)
   GasLab Moving Piston (unverified)
   GasLab Pressure Box (unverified)
   GasLab Second Law (unverified)
  Hydrogen Gas Production
  Ising
  Kicked Rotator
  Kicked Rotators
   Materials Science
    Crystallization
    Crystallization Basic
    Crystallization Directed
    Crystallization Moving
   Current in a Semiconductor
   Dislocation Motion and Deformation
   Heat Diffusion
   Molecular Dynamics Lennard-Jones
   Monte Carlo Lennard-Jones
   Polymer Dynamics
   Radical Polymerization with Chains
   Solid Diffusion
   Mechanics
   Random Balls
   Gravitation (unverified)
   N-Bodies (unverified)
   Radioactivity
   Decay
   Reactor Top Down (unverified)
   Reactor X-Section (unverified)
  Sand
  Sandpile
  Thermostat
  Turbulence
  Osmotic Pressure (unverified)
  Scattering (unverified)
   Waves
   Lattice Gas Automaton
   Rope
   Doppler (unverified)
   Raindrops (unverified)
   Speakers (unverified)
   Wave Machine
  Computer Science
  Artificial Neural Net - Multilayer
  Artificial Neural Net - Perceptron
   Cellular Automata
   Brian's Brain
   CA 1D Elementary
    CA 1D Simple Examples
    CA 1D Rule 110
    CA 1D Rule 250
    CA 1D Rule 30 Turtle
    CA 1D Rule 30
    CA 1D Rule 90
   CA 1D Totalistic
   CA 1D-Squaring
   CA Continuous
   CA Stochastic
   Life Turtle-Based
   Life
  Dining Philosophers
  Hex Cell Aggregation
  K-Means Clustering
  PageRank
  Painted Desert Challenge
  Particle Swarm Optimization
   Particle Systems
   Particle System Basic
   Particle System Flame
   Particle System Fountain
   Particle System Waterfall
  Robby the Robot
  Robotic Factory
  Simple Genetic Algorithm
  SmoothLife
  Turing Machine 2D
  Merge Sort (unverified)
  Simulated Annealing (unverified)
  Vants
  Wandering Letters
  Earth Science
  Climate Change
  Continental Divide
  Erosion
  Fire
  Grand Canyon
  Percolation
  River Meanders
  Lightning (unverified)
  Games
  Ant Adaptation
  Frogger
  Lunar Lander
  Minesweeper
  Pac-Man
  Planarity
  Tetris
  Pac-Man Level Editor (unverified)
  Projectile Attack (unverified)
  Mathematics
  3D Solids
  3D Surface
  Color Fractions
  Conic Sections 1
  Conic Sections 2
  Division
   Fractals
   Koch Curve
   L-System Fractals
   Mandelbrot
   Sierpinski Simple
   Star Fractal
   Tree Simple
  Mousetraps
   Probability
   Binomial Rabbits
   Birthdays
   Galton Box
    ProbLab
    Dice Stalagmite
    Dice
    Prob Graphs Basic
    ProbLab Genetics
    Random Basic
    Stochastic Patchwork
    9-Blocks (unverified)
    Central Limit Theorem (unverified)
    Equidistant Probability (unverified)
    Expected Value Advanced (unverified)
    Expected Value (unverified)
    Partition Permutation Distribution (unverified)
    Random Basic Advanced (unverified)
    Random Combinations and Permutations (unverified)
    Sample Stalagmite (unverified)
    Shuffle Board (unverified)
   Random Walk 360
   Three Doors
   Random Walk Left Right (unverified)
  Pursuit
  Rugby
  Turtles Circling
  PANDA BEAR Solo (unverified)
  Surface Walking 2D (unverified)
  Vector Fields
  Voronoi - Emergent
  Voronoi
  Networks
  Diffusion on a Directed Network
  Giant Component
  Preferential Attachment
  Small Worlds
  Team Assembly
  Virus on a Network
  Philosophy
  Signaling Game
  Psychology
  Piaget-Vygotsky Game
  Social Science
   Distribution Center Discrete Event Simulator
   Distribution Center Discrete Event Simulator
   Economics
   Bidding Market
   Braess Paradox
   Fruit Wars
   Hotelling's Law
   Limited Order Book
   Oil Cartel HubNet
    Sugarscape
    Sugarscape 1 Immediate Growback
    Sugarscape 2 Constant Growback
    Sugarscape 3 Wealth Distribution
   Bank Reserves (unverified)
   Cash Flow (unverified)
   Wealth Distribution
  Ethnocentrism
  Language Change
  Minority Game
  Party
  Paths
   Prisoner's Dilemma
   Prisoner's Dilemma Basic Evolutionary
   Prisoner's Dilemma Basic
   Prisoner's Dilemma N-Person Iterated
   Prisoner's Dilemma Two Person Iterated
  Rebellion
  Rumor Mill
  Scatter
  Segregation
  Taxi Cabs
  Traffic 2 Lanes
  Traffic Basic
  Traffic Grid
  Artificial Anasazi (unverified)
  Traffic Intersection (unverified)
   data
  Voting
  System Dynamics
  Exponential Growth
  Logistic Growth
  Tabonuco Yagrumo Hybrid (unverified)
  Tabonuco Yagrumo (unverified)
  Wolf Sheep Predation (Docked Hybrid)
  Wolf Sheep Predation (System Dynamics)


Curricular Models

For information on the curricula, see the CCL home page.

  BEAGLE Evolution
  Bird Breeder
  Bug Hunt Coevolution
  Bug Hunt Consumers
  Bug Hunt Drift
  Bug Hunt Predators and Invasive Species
  DNA Protein Synthesis
  DNA Replication Fork
   EACH
   Altruism
   Cooperation
   Divide The Cake
  Fish Tank Genetic Drift
   HubNet Activities
   Bird Breeders HubNet
   Bug Hunters Adaptations HubNet
   Bug Hunters Camouflage HubNet
   Bug Hunters Competition HubNet
   Critter Designers HubNet
   Fish Spotters HubNet
   Guppy Spots HubNet
  Plant Hybridization
  Plant Speciation
  Red Queen
  CT-STEM
  1D Motion Maps
  Calorimetry
  Free Fall
  Habitat Preference Behavior
  Hardy Weinberg Equilibrium
  Kidney Reabsorption
  Mendelian Inheritance
  Natural Selection - Camouflage
  Pendulum
  Volume Temperature
  Connected Chemistry
  Connected Chemistry 1 Bike Tire
  Connected Chemistry 2 Changing Pressure
  Connected Chemistry 3 Circular Particles
  Connected Chemistry 4 Number and Pressure
  Connected Chemistry 5 Temperature and Pressure
  Connected Chemistry 6 Volume and Pressure
  Connected Chemistry 7 Ideal Gas Law
  Connected Chemistry 8 Gas Particle Sandbox
  Connected Chemistry Atmosphere
  Connected Chemistry Gas Combustion
  Connected Chemistry Reversible Reaction
  Connected Chemistry Rusting Reaction
  Connected Chemistry Solid Combustion
  GenEvo
  GenEvo 1 Genetic Switch
  GenEvo 2 Genetic Drift
  GenEvo 3 Genetic Drift and Natural Selection
  GenEvo 4 Competition
  Synthetic Biology - Genetic Switch
  Lattice Land
  Lattice Land - Explore
  Lattice Land - Triangles Dissection
  Lattice Land - Triangles Explore
  MaterialSim
  MaterialSim Grain Growth
  Mind the Gap
  MTG 1 Equal Opportunities HubNet
  MTG 2 Random Assignment HubNet
  MTG 3 Feedback Loop HubNet
  ModelSim
   Evolution
   Bacteria Food Hunt
   Bacteria Hunt Speeds
   Population Biology
   Bug Hunt Disruptions
   Bug Hunt Environmental Changes
   Bug Hunt Predators and Invasive Species - Two Regions
  NIELS
  Current in a Wire HubNet
  Current in a Wire
  Electron Sink
  Electrostatics
  Parallel Circuit
  Series Circuit
  PNoM
  PNoM 1 Diffusion Sandbox
  PNoM 2 Diffusion Sensor Sandbox
  PNoM 3 Virtual Syringe
  PNoM 4 Virtual Syringe Force Graph
  PNoM 5 Virtual Syringe Temperature Graph
  PNoM 6 Particle Sandbox Gravity
  PNoM 7 Particle Sandbox Intermolecular Forces
  ProbLab
  4 Block Stalagmites
  4 Block Two Stalagmites
  4 Blocks
  Histo Blocks
  Sampler Solo
  Urban Suite
  Urban Suite - Awareness
  Urban Suite - Cells
  Urban Suite - Economic Disparity
  Urban Suite - Path Dependence
  Urban Suite - Pollution
  Urban Suite - Positive Feedback
  Urban Suite - Recycling
  Urban Suite - Sprawl Effect
  Urban Suite - Structure from Randomness 1
  Urban Suite - Structure from Randomness 2
  Urban Suite - Tijuana Bordertowns
  epiDEM
  epiDEM Basic
  epiDEM Travel and Control


Code Examples

 3D Shapes Example
 Ask Ordering Example
 Ask-Concurrent Example
 Bounce Example
 Box Drawing Example
 Breed Procedures Example
 Breeds and Shapes Example
 Case Conversion Example
 Circular Path Example
 Color Chart Example
 Communication-T-P Example
 Communication-T-T Example
 Diffuse Off Edges Example
  Extensions Examples
   csv
   CSV Example
   gis
   GIS General Examples
   GIS Gradient Example
    data
   gogo
   GoGoMonitor
   GoGoMonitorSimple
   ls
   Model Interactions Example
   Model Visualizer and Plotter Example
   Parent Model Example
   matrix
   Matrix Example
   nw
   NW General Examples
   palette
   Color Bubbles
   Color Painting
   Color Reveal
   Palette Example
   profiler
   Profiler Example
   py
   Python Basic Example
   Python Flocking Clusters
   rnd
   Rnd Example
   sound
   Beatbox
    Beats
   Composer
   GasLab With Sound
   Musical Phrase Example
   Percussion Workbench
   Sound Workbench
   table
   Table Example
   time
   Discrete Event Mousetrap
   Discrete Event Whack-a-Mole
   Logotimes Example
   vid
   Movie Playing Example
   Movie Recording Example
   Video Camera Example
   view2.5d
   2.5d Patch View Example
   2.5d Turtle View Example
 File Input Example
 File Output Example
 Fully Connected Network Example
 Grouping Turtles Example
 HSB and RGB Example
 Halo Example
 Hatch Example
 Hex Cells Example
 Hex Turtles Example
 Hill Climbing Example
 Histogram Example
 Image Import Example
 Info Tab Example
 Intersecting Lines Example
 Intersecting Links Example
 Label Position Example
 Lattice-Walking Turtles Example
 Line of Sight Example
 Link Breeds Example
 Link Lattice Example
 Link-Walking Turtles Example
 Look Ahead Example
 Lottery Example
 Many Regions Example
 Mobile Aggregation Example
 Moore & Von Neumann Example
 Mouse Drag Multiple Example
 Mouse Drag One Example
 Mouse Example
 Mouse Recording Example
 Move Towards Target Example
 Myself Example
 Neighborhoods Example
 Network Example
 Network Import Example
 Next Patch Example
 One Turtle Per Patch Example
 Partners Example
 Patch Clusters Example
 Patch Coordinates Example
  Perspective Demos
  Ants (Perspective Demo)
  Flocking (Perspective Demo)
  GasLab Gas in a Box (Perspective Demo)
  Termites (Perspective Demo)
 Perspective Example
 Plot Axis Example
 Plot Smoothing Example
 Plotting Example
 Random Grid Walk Example
 Random Network Example
 Random Seed Example
 Random Walk Example
 Rolling Plot Example
 Scale-color Example
 Scatter Example
 Shape Animation Example
 State Machine Example
 Tie System Example
 Transparency Example
 Tutorial 3
 User Interaction Example
 Vision Cone Example
 Wall Following Example


HubNet Activities

For information about HubNet, click here.

 BeeSmart HubNet
  Code Examples
  Client Overrides Example HubNet
  Client Perspective Example HubNet
  Template HubNet
 Dice Stalagmite HubNet
 Disease Doctors HubNet
 Disease HubNet
 Gridlock HubNet
 Memory HubNet
 Minority Game HubNet
 Polling HubNet
 Root Beer Game HubNet
 Sampler HubNet
 Tragedy of the Commons HubNet
 Function HubNet (unverified)
 Gridlock Alternate HubNet (unverified)
 Investments HubNet (unverified)
 Oil Cartel Alternate HubNet (unverified)
 PANDA BEAR HubNet (unverified)
 Polling Advanced HubNet (unverified)
 Predator Prey Game HubNet (unverified)
 Prisoners Dilemma HubNet (unverified)
 Public Good HubNet (unverified)
 Restaurants HubNet (unverified)
 Walking HubNet (unverified)


3D

  Code Examples
  Airplane Landing Example 3D
  Bouncing Balls Example 3D
  Hill Climbing Example 3D
  Neighborhoods Example 3D
  Network Example 3D
  Shapes Example 3D
  Spherical Path Example 3D
  Three Loops Example 3D
  Trails Example 3D
  Turtle Dance Example 3D
  Turtle Perspective Example 3D
  Turtle and Observer Motion Example 3D
  Uniform Distribution on a Sphere Example 3D
  Sample Models
  DLA 3D
  Fireworks 3D
  Flocking 3D Alternate
  Flocking 3D
  Follower 3D
   GasLab
   GasLab Free Gas 3D
   GasLab Single Collision 3D
   GasLab Two Gas 3D
  Hydrogen Diffusion 3D
  Life 3D
  Mousetraps 3D
  Percolation 3D
  Preferential Attachment 3D
  Raindrops 3D
  Rope 3D
  Sand 3D
  Sandpile 3D
  Sierpinski Simple 3D
  Sunflower 3D
  Surface Walking 3D
  Termites 3D
  Tree Simple 3D
  Wave Machine 3D