organelle
v0.0.15
Published
An agent-based modeling library based on SVG and declarative rules.
Downloads
10
Readme
Organelle
An agent-based modeling library based on SVG and declarative rules.
Installation
Organelle can be used both as a library installed with NPM, or by including the script file directly.
NPM
npm install organelle
import * as Organelle from 'organelle'
// or
var Organelle = require('organelle')
Organelle.createModel({...})
Script
<script src="https://organelle.concord.org/organelle.js"></script>
// or
<script src="https://organelle.concord.org/version/0.0.1/organelle.js"></script>
<script>
var Organelle = window.Organelle
</script>
Developer setup
yarn
npm start
// view the contents of /lib in your browser.
// e.g. using live-server, in another tab:
npm install -g live-server
live-server lib
Goals for 1.0 release:
- Replace rendering with Fabric.js ✓
- Build as both importable library and as a global variable ✓
- Improve documentation
- Add tests for agent tasks and world props