# P5js Agent Based Modeling

**URL:** <https://discourse.processing.org/t/p5js-agent-based-modeling/5188>\
**Category:** p5.js\
**Created:** [November 4, 2018, 6:45pm UTC](https://discourse.processing.org/t/p5js-agent-based-modeling/5188 "2018-11-04T18:45:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![backspaces](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/backspaces/32/2208_2.png) [@backspaces](https://discourse.processing.org/u/backspaces)\
**Post date:** [November 4, 2018, 6:45pm UTC](https://discourse.processing.org/t/p5js-agent-based-modeling/5188/1 "2018-11-04T18:45:39Z")

</div>

I’m currently working on AgentScript, a Javascript subset of NetLogo.

Are any of us P5js’ers working in that area?

My interest in P5js is using it as a View/App for AgentScript’s core Model module. (We distinguish between a View which is separate from the Model, and an App that is integrated into the Model)

Here is an example of a tightly integrated [Three App](http://backspaces.github.io/as-app3d/models/?water).

Here is an example of a loosely integrated Observable [D3 View](https://beta.observablehq.com/@backspaces/agentscript-firemodel-d3-view).
