#NetLogo
Netlogo in elementary schools. smdh.
November 4, 2026 at 3:27 PM
New contribution requesting with requests for answers: Carlos Paes on "The crowd and the star: a small scapegoat model, eight pile-ons, and a request for suggestions" rofasss.org/2026/11/04/t... #networks #memetics #pileons #scapegoating #socialscience #abm #simulation #netlogo
rofasss.org
November 4, 2026 at 12:09 PM
I fed my pre-print to an LLM last weekend, zenodo.org/records/2308.... Various good bits of feedback but it objected to the idea that 1 out of 4 models should out compete the others. I vibe coded some JavaScript to re-implement both C# and NetLogo versions.
Epidemic modelling for children
The dynamics of epidemics are poorly understood with, typically, the general population parroting the exponential growth model of Malthus that was debunked by Darwin. Statistical modelling by Farr had...
zenodo.org
October 24, 2026 at 4:12 PM
Would you like to see the JavaScript and NetLogo implementations?
stochanswers.com/education/ta...
stochanswers.com/education/ep...
stochanswers.com/downloads/
October 11, 2026 at 9:33 PM
Yes, thank you, and I've read both: tag.js and your NetLogo infect/update play your rules exactly, and marked? counts a double pick once. Nice touch: your kmck uses S averaged over the round, which tracks the simulated R within 0.01 through the peak. Eq. (5)'s start-of-round S is off by up to 0.16.
October 11, 2026 at 9:39 PM
Integrating GIS data in NETlogo
I'm working on a simple virus model in NETlogo, and attempting to integrate spatial data. I'm hoping I can limit the "agents" to these polygons and base the number of them off of my population data. Currently, I've modified an existing model and have been able to add my polygons (and associated attribute information) by copying the code from the provided "segregation" model in the NETlogo library. to setup clear-all setup-constants setup-turtles update-global-variables update-display gis:load-coordinate-system "data/LA_Harbor_Region.prj" set city-dataset gis:load-dataset "data/LA_Harbor_Region.shp" gis:set-world-envelope gis:envelope-of city-dataset ;;copy the color information to patches (converting vector to raster) gis:apply-coverage city-dataset "SOC" mycolor gis:apply-coverage city-dataset "DISTRICT" DISTRICT ;; each polygon identifies a patch at its centroid, which records the color ;; and population here let n 1 foreach gis:feature-list-of city-dataset [ feature -> let center-point gis:location-of gis:centroid-of feature ask patch item 0 center-point item 1 center-point [ set centroid? true set popu gis:property-value feature "POP65UP" ] set n n + 1 ] It does appear the model was able to read the data to draw the polygons/map, separate the census tracts and apply the color modifiers I requested. However, I am unable to get the model to do little else. This is the code section I believe controls the initial population/location in the "segregation" model with some modifications. ;; Find neighbors using a txt file produced by ArcGIS Polygon Neighbors. ;; Please read NETLOGO FEATURES in info tab for more information. ask patches with [centroid? = true] [ set myneighbors n-of 0 patches ;;empty agentset ] file-close file-open "data/neighbors.txt" while [not file-at-end?] [ let x file-read let y file-read ask patches with [ centroid? = true and DISTRICT = x ] [ set myneighbors (patch-set myneighbors patches with [centroid? = true and DISTRICT = y ]) ] ] file-close ask patches with [centroid? = true] [ if count myneighbors = 0 [print "ERROR"] ] ;;use this line to verify if we get the right neighbors ;ask one-of patches with [centroid? = true] [print myneighbors ask myneighbors [sprout 1]] ;;fill in the color on themap foreach gis:feature-list-of city-dataset [ feature -> if gis:property-value feature "SOC" = "RED" [ gis:set-drawing-color 15 gis:fill feature 2.0 ] if gis:property-value feature "SOC" = "BLUE" [ gis:set-drawing-color 95 gis:fill feature 2.0 ] if gis:property-value feature "SOC" = "GREY" [ gis:set-drawing-color 7 gis:fill feature 2.0 ] if gis:property-value feature "SOC" = "BLACK" [ gis:set-drawing-color 99 gis:fill feature 2.0 ] if gis:property-value feature "SOC" = "YELLOW" [ gis:set-drawing-color 45 gis:fill feature 2.0 ] ] ;; Draw boundary gis:set-drawing-color white gis:draw city-dataset 1 ;; Creating households ask patches with [DISTRICT > 0] [set occupied? false] let y 1 while [y
gis.stackexchange.com
September 5, 2026 at 4:09 PM
The data you are asking for needs to be represented by a variable, not a constant, btw. There’s no one size fits all graph for that, but someone with more skill than me could probably code it easily in NetLogo @netlogo.bsky.social
August 27, 2026 at 2:51 AM
❗New Topical Collection in Individual-based Ecology open to papers from #NetLogoCon2026!

📑This collection welcomes papers addressing both general methodological issues and specific #ecological systems and problems in agent-based modeling.

📆Submission deadline: 30 September 2026
Topical Collection: NetLogo Con 2026, Now Open For Submissions
From June 29 to July 1, 2026, the NetLogo Center at Northwestern University welcomed researchers and educators to Chicago for the very first NetLogo user conference. As the go-to platform for individu...
ibe.pensoft.net
August 26, 2026 at 6:41 AM
NetLogo GIS extension - create-turtles-inside polygons in NetLogo
I am trying to create turtles within postcode boundary. I have imported the postcode shapefile in NetLogo and applied postcodes to the patches. I could create one turtle within each postcode boundary but struggling to figureout how can I create number of turtles within each postcode boundary according to the NUM_AGENT field from the attribute table of postcode shapefile? The following code can successfully create one turtle per postcode. to setup ca reset-ticks set res_town gis:load-dataset "Projected_data/town_data.shp" set studyextent gis:load-dataset "Projected_data/Apr.asc" resize-world -924 924 -800 800 ; 0 gis:width-of (studyextent) - 1 0 gis:height-of (studyextent) - 1 gis:set-drawing-color grey gis:draw res_town 1 gis:draw studyarea 1 gis:set-world-envelope (gis:envelope-union-of (gis:envelope-of res_town) (gis:envelope-of studyextent) ) gis:set-coverage-minimum-threshold 0.0000001 gis:apply-coverage res_town "POA" postcode ask patches [ ifelse (postcode = 0) [ ] [ set postcode 0] ] ; NaN fix let respatches patches with [postcode > 0 ] ask respatches [ set postcode round (postcode) set pcolor 2 + postcode * 0.75 ] let postcodelist ([postcode] of respatches) let uniquepostcodelist remove-duplicates postcodelist let sortedlist sort uniquepostcodelist print length sortedlist print sortedlist ;; create turtle for each postcode foreach sortedlist [ x -> ask one-of respatches with [postcode = x] [sprout 1 [set shape "person" set size 15 ]] ] end I am not sure how to add a number of turtles per postcode according to NUM_TURTLES field from the postcode shapefile. I tried using gis:create-turtles-inside-polygon command instead of gis:apply-coverage but when I type the command gis:create-turtles-inside it gives an error saying nothing named gis:create-turtles-inside has been defined. I am using exactly the same code as mentioned in the example. foreach gis:feature-list-of res_town [ res-postcode -> gis:create-turtles-inside res-postcode beekeepers 1 ]
gis.stackexchange.com
August 22, 2026 at 12:09 PM
Just published in JOSS: 'LogoClim: WorldClim in NetLogo' https://doi.org/10.21105/joss.08845
August 19, 2026 at 9:07 PM
Si ganar una elección alcanza para romper la democracia liberal y el estado de derecho, si la economía requiere que nos convirtamos en autómatas programados en netlogo para que los planes tengan éxito, el problema es más de las técnologías sociales que de la sociedad.
May 8, 2026 at 9:38 PM
September 30, 2025 at 8:13 PM
The NetLogo center is running it's first in person conference at the end of June.

NetLogo is a wonderful modelling and intro language.

Here are my thoughts on the language, it's use and the conference:

cestlaz.zamansky.net/posts/netlog...
The first NetLogo Center User Conference - C’est la Z
THe Netlogo Center is running their first in person conference at the end of June in Chicago (info and registration). It's an event I'm looking forward to attending and also to be presenting at. I've ...
cestlaz.zamansky.net
May 20, 2026 at 4:35 PM
In NetLogo, an agent runs through each of its functions before the next agent starts.
In AgentPy, all agents iterate through the same function before moving on to the next one.

A trivial difference, but I am learning that this has dire (or interesting??) consequences for my simulation. 😩
I've been dedicating some time completely rewriting my ABM in Python (from NetLogo), since I hit some limitations with the latter. It's quite cathartic going through the code and sorting out all of the "temporary" fixes thrown in over years of development...😅
January 27, 2025 at 8:17 PM
Ah right. Yes, I may eventually switch over to MESA - the interactive visualization is attractive enough and something NetLogo gives you for free! Moving from NetLogo to AgentPy has been an experience in itself. Both handle agent-level updates differently, which makes for interesting outcomes...
January 26, 2025 at 8:42 PM
Fwiw I think NetLogo is *tremendous* for agent-based modelling, and I'm surprised that it's not used as much as it should be. It has a low barrier to entry, it's robust, has a great GUI & it's very easy to set up parameters for various experimental conditions. The benefits outweigh the drawbacks imo
January 24, 2025 at 7:25 AM
I've been dedicating some time completely rewriting my ABM in Python (from NetLogo), since I hit some limitations with the latter. It's quite cathartic going through the code and sorting out all of the "temporary" fixes thrown in over years of development...😅
January 24, 2025 at 7:25 AM
#netlogo is a pretty great system for investigating complex dynamical interacting systems using code and user interface that's accessible even to middle school kids, or even to some extent grade school (I know, I literally tried it out just before the pandemic with 4th graders).

There's the […]
Original post on mastodon.sdf.org
mastodon.sdf.org
February 16, 2026 at 6:33 PM
@futurebird
To me you need a good reason to learn to code something. The good reason in HS should be to explore another area of learning (ie. A two for one). So my thought is either NetLogo or Julia with Agents.jl and learn something about science in the process. Ecology, physics/dynamics […]
Original post on mastodon.sdf.org
mastodon.sdf.org
January 25, 2025 at 3:56 PM
A great new #RStats package for working with #NetLogo. Currently I use a cobbled together #RScript that edits xml files & allows me to do a poor imitation of what this package does. Useful in analysis & safeguard #metadata

@JanSalecker @msciain

https://t.co/bDUHqY4E52
November 15, 2024 at 3:22 PM
I just learned that you can set a variable you setup using let!! My code is a mess as put anything that was "re-set" as a global (I had thought this a major flaw in #netlogo! )

I also just realised my "white" shirt has yellow blodges on! Laundry seperation failure!

#ISEM2019
November 15, 2024 at 3:22 PM
Three on habitat #fragmentation per se using @netlogo & individual-based modelling:
(2020) https://t.co/aW2j1wxnyJ
(2021) https://t.co/XZUlBetTJv
(2022) https://t.co/ddG1QbAyxw
Without @cedanews my research in the UK could not have taken place.
November 15, 2024 at 3:19 PM
Converted my IBM sim of beetles from #Netlogo into #Python. Optimised 14s per year. Cythonised 2.2s! #Cython @LeedsYorkDTP @CEHScienceNews
November 15, 2024 at 3:18 PM
Drat! I have been optimising the wrong part of my @netlogo script. I thought it was the call to #rstats that I used. So I optimised my r script, even incorporating #rcpp. I have just realised it is one of the #netlogo functions that is slow! Doh!
November 15, 2024 at 3:17 PM
The #Rcpp substitution I made reduces processing time from over 5 mins to 2.95 mins when I run a test on the data in #rstats. I, unfortunately, can't get #NetLogo to play nice with Rcpp!! https://t.co/3I0hVjGzjI
November 15, 2024 at 3:17 PM