{"id":25870830,"url":"https://github.com/crispengari/netlogo101","last_synced_at":"2026-03-05T19:48:23.973Z","repository":{"id":279254285,"uuid":"938213152","full_name":"CrispenGari/netlogo101","owner":"CrispenGari","description":"🥅 Hello world! From netlogo 101.","archived":false,"fork":false,"pushed_at":"2025-04-26T14:17:29.000Z","size":17084,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-26T15:26:12.507Z","etag":null,"topics":["netlogo","netlogo-model","simulation"],"latest_commit_sha":null,"homepage":"","language":"NetLogo","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CrispenGari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-24T15:46:20.000Z","updated_at":"2025-04-26T14:17:32.000Z","dependencies_parsed_at":"2025-04-06T17:31:56.727Z","dependency_job_id":null,"html_url":"https://github.com/CrispenGari/netlogo101","commit_stats":null,"previous_names":["crispengari/netlogo101"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CrispenGari/netlogo101","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2Fnetlogo101","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2Fnetlogo101/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2Fnetlogo101/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2Fnetlogo101/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CrispenGari","download_url":"https://codeload.github.com/CrispenGari/netlogo101/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2Fnetlogo101/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30147335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["netlogo","netlogo-model","simulation"],"created_at":"2025-03-02T06:32:39.196Z","updated_at":"2026-03-05T19:48:23.940Z","avatar_url":"https://github.com/CrispenGari.png","language":"NetLogo","funding_links":[],"categories":[],"sub_categories":[],"readme":"### NetLogo for Agent Based Modelling(ABM)\n\nIn these series of tutorials we are going to learn practically how we can use agent based modelling to develop models using NetLogo. Here are the list of topics that will be covered in these tutorials.\n\n1. **Introduction to Agent-Based Modeling (ABM) and NetLogo**\n2. **Understanding Agents in NetLogo**\n3. **NetLogo Programming Fundamentals**\n4. **Building Simple Models**\n5. **Introduction to Epidemiological Modeling**\n6. **Developing a Basic Disease Spread Model**\n7. **Enhancing the Model with Real-World Data**\n8. **Introducing Advanced Features**\n9. **Validating and Testing the Model**\n10. **Final Project: Simulating COVID-19 Spread**\n    - Topics Covered: Students apply learned concepts to develop and present their own COVID-19 spread simulations.\n\n### Installing NetLogo\n\n1. To install NetLogo first you need to visit the following link:\n\n- https://ccl.northwestern.edu/netlogo/download.shtml\n\n2. Fill the name and email address from the form\n3. Download the one for your operating system.\n4. And then follow the installation steps.\n\n### Hello World\n\nIn the following example we are going to create a program that print's `\"Hello world!\"` message using `NetLogo`.\n\n1. Open NetLogo\n2. Go to the `Code` tab\n3. Declare a procedure it can be any name mine is going to be called `setup` and copy and paste the following code.\n\n```shell\nto setup\n  print \"Hello World!\"\nend\n```\n\n4. Go to the interface and add a button that says when you click it it will run the following command.\n\n### Class Example:\n\n```shell\nto hello\n  ;; this is a simple hello world message to the console\n  print \"Hello World!!\"\nend\n\nTO BYE\n  ;;\n  PrinT(\"Good Bye\")\nEND\n\nto setup\n  ;; clearing the env\n  clear-all\n  ;; let's create our very first title\n  create-turtles 1\nend\n```\n\n### ABM (Agent Base Modeling)\n\nYou can load the models right straight from NetLogo.\n\n1. Open NetLogo\n2. Click on `File \u003e Models Library` or `Ctrl + M`\n3. Select the model that you want to simulate\n4. For example we are going to show the simulation using the `\"Wolf Sheep Predation\"` click that and the model will be loaded.\n5. Click the `Setup` button\n6. Then the `Agents` will then appear in the environment.\n7. If you click the `Go` button then the simulation will start happening where the wolfs will be eating sheeps and sheeps will be eating grass, and the visualization will be shown with time.\n\n\u003e Note that if you want to see the code behind the simulation you will have to click the `code` tab.\n\n### Why ABM?\n\n- They makes the invisible to become visible.\n- It makes things falsifiable. Meaning that it can be used to prove something wrong by an experiment or observation\n- Makes us review opinions and actions from different angles using different parameters.\n- They make you allows you to make simulation of the society.\n\n### Main types of entities in NetLogo.\n\n- turtles (agents) - moving agent\n- Patches - cell grid in the environment\n- Links - distance between turtles\n\n\u003e Ref: https://wisc.pb.unizin.org/agent-based-evolutionary-game-dynamics/chapter/i-5/\n\n- Interacting with the turtles.\n- Using the command center to change turtles.\n\n```shell\nset size 2\nset color red # ask turtles [ set color red]\nask wolf 45 [set size 3]\nask wolf 45 [die]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrispengari%2Fnetlogo101","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrispengari%2Fnetlogo101","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrispengari%2Fnetlogo101/lists"}