UNPKG

agentscript

Version:

AgentScript Model in Model/View architecture

30 lines (29 loc) 5.47 kB
Code | Run demo ------- | ------ [ants](https://github.com/backspaces/agentscript/tree/master/models/AntsModel.js#L1) | [https://code.agentscript.org/models/run.html?ants](https://code.agentscript.org/models/run.html?ants) [avalanche](https://github.com/backspaces/agentscript/tree/master/models/AvalancheModel.js#L1) | [https://code.agentscript.org/models/run.html?avalanche](https://code.agentscript.org/models/run.html?avalanche) [buttons](https://github.com/backspaces/agentscript/tree/master/models/ButtonsModel.js#L1) | [https://code.agentscript.org/models/run.html?buttons](https://code.agentscript.org/models/run.html?buttons) [camera3D](https://github.com/backspaces/agentscript/tree/master/models/Camera3DModel.js#L1) | [https://code.agentscript.org/models/run.html?camera3D](https://code.agentscript.org/models/run.html?camera3D) [counties](https://github.com/backspaces/agentscript/tree/master/models/CountiesModel.js#L1) | [https://code.agentscript.org/models/run.html?counties](https://code.agentscript.org/models/run.html?counties) [diffuse](https://github.com/backspaces/agentscript/tree/master/models/DiffuseModel.js#L1) | [https://code.agentscript.org/models/run.html?diffuse](https://code.agentscript.org/models/run.html?diffuse) [droplets](https://github.com/backspaces/agentscript/tree/master/models/DropletsModel.js#L1) | [https://code.agentscript.org/models/run.html?droplets](https://code.agentscript.org/models/run.html?droplets) [exit](https://github.com/backspaces/agentscript/tree/master/models/ExitModel.js#L1) | [https://code.agentscript.org/models/run.html?exit](https://code.agentscript.org/models/run.html?exit) [fire](https://github.com/backspaces/agentscript/tree/master/models/FireModel.js#L1) | [https://code.agentscript.org/models/run.html?fire](https://code.agentscript.org/models/run.html?fire) [flock](https://github.com/backspaces/agentscript/tree/master/models/FlockModel.js#L1) | [https://code.agentscript.org/models/run.html?flock](https://code.agentscript.org/models/run.html?flock) [gridPath](https://github.com/backspaces/agentscript/tree/master/models/GridPathModel.js#L1) | [https://code.agentscript.org/models/run.html?gridPath](https://code.agentscript.org/models/run.html?gridPath) [hello3D](https://github.com/backspaces/agentscript/tree/master/models/Hello3DModel.js#L1) | [https://code.agentscript.org/models/run.html?hello3D](https://code.agentscript.org/models/run.html?hello3D) [hello3Z](https://github.com/backspaces/agentscript/tree/master/models/Hello3ZModel.js#L1) | [https://code.agentscript.org/models/run.html?hello3Z](https://code.agentscript.org/models/run.html?hello3Z) [hello](https://github.com/backspaces/agentscript/tree/master/models/HelloModel.js#L1) | [https://code.agentscript.org/models/run.html?hello](https://code.agentscript.org/models/run.html?hello) [helloPlus](https://github.com/backspaces/agentscript/tree/master/models/HelloPlusModel.js#L1) | [https://code.agentscript.org/models/run.html?helloPlus](https://code.agentscript.org/models/run.html?helloPlus) [life](https://github.com/backspaces/agentscript/tree/master/models/LifeModel.js#L1) | [https://code.agentscript.org/models/run.html?life](https://code.agentscript.org/models/run.html?life) [linkTravel](https://github.com/backspaces/agentscript/tree/master/models/LinkTravelModel.js#L1) | [https://code.agentscript.org/models/run.html?linkTravel](https://code.agentscript.org/models/run.html?linkTravel) [pheromone](https://github.com/backspaces/agentscript/tree/master/models/PheromoneModel.js#L1) | [https://code.agentscript.org/models/run.html?pheromone](https://code.agentscript.org/models/run.html?pheromone) [roads](https://github.com/backspaces/agentscript/tree/master/models/RoadsModel.js#L1) | [https://code.agentscript.org/models/run.html?roads](https://code.agentscript.org/models/run.html?roads) [shapes](https://github.com/backspaces/agentscript/tree/master/models/ShapesModel.js#L1) | [https://code.agentscript.org/models/run.html?shapes](https://code.agentscript.org/models/run.html?shapes) [slimeMold](https://github.com/backspaces/agentscript/tree/master/models/SlimeMoldModel.js#L1) | [https://code.agentscript.org/models/run.html?slimeMold](https://code.agentscript.org/models/run.html?slimeMold) [template](https://github.com/backspaces/agentscript/tree/master/models/TemplateModel.js#L1) | [https://code.agentscript.org/models/run.html?template](https://code.agentscript.org/models/run.html?template) [tsp](https://github.com/backspaces/agentscript/tree/master/models/TspModel.js#L1) | [https://code.agentscript.org/models/run.html?tsp](https://code.agentscript.org/models/run.html?tsp) [virus](https://github.com/backspaces/agentscript/tree/master/models/VirusModel.js#L1) | [https://code.agentscript.org/models/run.html?virus](https://code.agentscript.org/models/run.html?virus) [wallFollower](https://github.com/backspaces/agentscript/tree/master/models/WallFollowerModel.js#L1) | [https://code.agentscript.org/models/run.html?wallFollower](https://code.agentscript.org/models/run.html?wallFollower) [wander3D](https://github.com/backspaces/agentscript/tree/master/models/Wander3DModel.js#L1) | [https://code.agentscript.org/models/run.html?wander3D](https://code.agentscript.org/models/run.html?wander3D) [water](https://github.com/backspaces/agentscript/tree/master/models/WaterModel.js#L1) | [https://code.agentscript.org/models/run.html?water](https://code.agentscript.org/models/run.html?water)