dfhoughton / evolusim Goto Github PK
View Code? Open in Web Editor NEWevolution simulator written in coffeescript
License: GNU Lesser General Public License v2.1
evolution simulator written in coffeescript
License: GNU Lesser General Public License v2.1
TrigPairs are causing a huge amount of garbage collection work and memory thrashing. Pooling them and thus eliminating garbage collection has proven inadequate. We need to keep down the object count itself. We can do this by story geometries as subsequences within a number array and pooling offsets into this array for reuse.
the cell geometry modification makes it obsolete
The charts in the chart tabs now appear in random order.
This will speed up object creation a wee bit, since virtual machines that make a distinction between hash-y objects and object-y objects can create the latter faster, and perhaps access their properties and methods faster as well.
It would be cool when a creature is topicalized to see its stats.
working on the demo javascript is getting annoying
in Animal react method
This should make layout simpler and make it less disruptive to add still more adjustable options.
It would be handy to provide some explanation for every init parameter in the demo.
currently spurious nodes are being created
this will obviate the silly jig to get charting going
It would be cool to have some counts that didn't rely on the Google charts.
they stop at 2000 clicks
get rid of thingMap and create a TrigPair pool
We can make geometric calculations happen in something more like linear time by dividing the universe into cells such that each cell knows its neighbor cells within the max distance radius. Each cell can also keep a map from radii to sub-lists of the master neighbor list, such that to find the entities influencing a particular animal we iterate over the proper cell indices given its maximum radius of influence and only lazily generate the geometric information as needed. We might even cache all the calculations relating accessible pairs of pixels, but I'd make that a separate issue.
It looks like the visual field is drawn pre-jitter.
The critters seem to prefer to swim northeast or southwest. This is likely due to some bug in the geometry calculation. Should write a unit test for the geometry calculation and then apply it to fix this bias.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.