Re:Show HN: Terra, a JS framework for cellular automata and ...
by rileyjshaw on Saturday August 23, 2014 @07:40PM
(#8217191)
I understand what you mean now. Are you able to make a pull request (or an issue) at https://github.com/rileyjshaw/terra? Pretty busy for the next few days but I'll try to get to it
Re:Show HN: Terra, a JS framework for cellular automata and ...
by rileyjshaw on Monday August 25, 2014 @01:41PM
(#8222871)
Actually, I've been thinking more about this and feel it's better to define creatures on the root terra object. Running the same simulation 100 times with slightly different starting conditions, for example, would require a new terrarium for each trial but creatures should be shared between..
Re:Show HN: Terra, a JS framework for cellular automata and ...
by kordless on Saturday August 23, 2014 @06:41PM
(#8217082)
It would be awesome if the 'examples' actually showed you how to get it going yourself. I don't see any sample HTML anywhere, and your main page's JavaScript is compressed.
Re:Show HN: Terra, a JS framework for cellular automata and ...
by rileyjshaw on Saturday August 23, 2014 @07:19PM
(#8217155)
Good point! I just added a few lines to each to make them complete; if you include terra before running each example they should work now. Is this better?
Re:Show HN: Terra, a JS framework for cellular automata and ...
by kordless on Monday August 25, 2014 @12:52PM
(#8222586)
I opened a ticket if you are so inclined. The problem defined is that there isn't a clear method for getting this running in a quick webpage hackup way. It's JavaScript, so it should just 'work' when I cut and paste, as long as I'm including a min file somewhere.
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.
Re:Show HN: Terra, a JS framework for cellular automata and ...
by FranOntanaya on Saturday August 23, 2014 @03:46PM
(#8216686)
Do you know DarwinBots? There's plenty to take from there. I've been wishing for years for an alife sim as flexible as DB that would run well on Linux.
Re:Show HN: Terra, a JS framework for cellular automata and ...
by pokpokpok on Saturday August 23, 2014 @03:29PM
(#8216623)
Love it! emergent complexity, pixels, and colors! I'm working on a similar project I want to show you if you make it to a Queens Hack Night this year :)
https://github.com/Azeirah/L-Systems
http://www.glidr.net/
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