Show HN: Terra, a JS framework for cellular automata and biological simulations
rileyjshaw.com
rileyjshaw.com
var terra = require('./terra.min.js');
should work in any CommonJS environment. terra.creatureFactory.register({type: 'firstCreature'});
this is stored in the global `terra` variable... Would be better IMO var terra = new Terra();terra.creatureFactory.register({type: 'firstCreature'});It runs a lot slower than it could. Running it faster made it less appealing. (works on mobile)
There appear to be a good number of dependencies in the terra.js file, which isn't explained on the page. I see something called lowdash and seedrandom in there, both of which I have never seen before and have no clue how to install. I simply want to cut and paste the examples as they are shown and get something working. I don't want to run a bunch of build processes for installing a bunch of third party libraries on my machine when all I want is to include it on a single page in my project!
Anyway, it looks really cool. Wish I could use it.
- Paul