o Added a heatbugs-like JavaScript model

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 might be helpful for others.
BTW, I think we'll do a round of models/ updates so that the models are
separate from the html.  This will make them more usable by others who want
"multi-models".

To avoid having lots of html files, I may try to have a single
runmodel.html that is REST based.  It'll take some fussing to get it right,
but...

   -- Owen

On Thu, Oct 30, 2014 at 3:42 PM, Benny Lichtner <notifications@github.com>
wrote:

> In models/pherbugs.html:
>
> > +
> > +      // div, patchSize, minX, maxX, minY, maxY, isTorus, hasNeighbors
> > +      //   Defaults: 13, -16, 16, -16, 16, false, true
> > +      var model = new ABM.Model({
> > +          div: "model",
> > +          size: 5,
> > +          minX: -50,
> > +          maxX: 50,
> > +          minY: -50,
> > +          maxY: 50,
> > +          isTorus: true
> > +      })
> > +        .debug()  // Debug: Put Model vars in global name space
> > +        .start(); // Run model immediately after startup initialization
> > +
> > +        gui = new ABM.DatGUI(model,
>
> Awesome!
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/backspaces/agentscript/pull/61/files#r19638489>.
>