agentscript0 icon indicating copy to clipboard operation
agentscript0 copied to clipboard

Minimalist Agent Based Modeling (ABM) framework based on NetLogo

Results 20 agentscript0 issues
Sort by recently updated
recently updated
newest added

On the main Agentscript page, the link to template.html is currently broken.

I don't know if you're interested in this. But the sketches/jsmodel.html didn't go quite far enough for me. My playing around lead me to this model and I thought it...

Came across this while working on a DLA model to add to the sample models. When doing: ``` someBreed.setBreed(someAgent) ``` `someAgent` winds up getting most of its innards reset (see...

TL;DR: Use of sprites is now static and thus inflexible. Once made, they do not change to match the four sprite-defining agent property changes. Should we make them more directly...

**Not for merging! Currently just for sparking discussion.** This is the beginning of an attempt to isolate canvas/rendering logic in a single class, `CanvasView`. The goal is to easily be...

Previously: `model.createBreeds()` would determine if a new breed was a sub-breed (i.e. a breed based on agents, links, or patches) [by looking at the `breed` attribute of the base class's...

I thought they used to, and that something changed, because now they don't. But I'm not positive they ever did. Do you know what was intended? E.g. ``` this.agentBreeds("cakes fish");...

In preparation for modularization and _the future_

Looks like patch.agentsHere() wraps patch.agents, making sure it's populated before returning a value. Would it make sense to replace this with a getter?

E.g. ``` var myDataSet = new ABM.DataSet(100, 100, new Array(100*100)); myDataSet.setXY(10, 10, 255); var img = myDataSet.toImage(); ``` `img` ends up being all black