carykh / evolutionsteer Goto Github PK
View Code? Open in Web Editor NEWEvolution simulator of creatures learning how to steer towards food pellets better and better.
License: MIT License
Evolution simulator of creatures learning how to steer towards food pellets better and better.
License: MIT License
I downloaded it but don't know how to run it because im a noob
as of the work from @alamaz, it could be possible to create a platform to share the creature.
My proposal is the following:
the current best 5 creature FOR TYPE for the server is uploaded to github or similar service, where all the client can download it.
Client will replace part of their dead pool with the current best.
When a creature better than the actual champion is found, the client will store it in a "upload pool"
once every X seconds (depending on sever load?) one creature from the upload pool is uploaded to the server, that will run a series of run to verify the results.
If verified, the new creature will be publish as one of the current champions. All older champions will be stored in memory of the old time (and for later cool analysis).
A well defined series of limitation must be in place: how many type we should have (maximum number of nodes), maximum runtime for round or time required to achieve the maximum score, the json savefile must be max X bytes (to be estimate) and NOT compressed (to avoid decopression bomb).
for anti-dossing, i havo no idea rather than using some sort of account or maybe you register your github repo, and the server will pool for modification.. that will take away the need for the upload pool, a user can save as much as he want, and json as text is perfect to follow the diff!
I'd love the code (or tips, new to Python) to get species analyzed by Node and Muscle count again. And maybe some kind of Axon count or something? That is, instead of grouping by patrons.
I currently don't have the time to create it myself, but in your video, you said something about that you want to be able to save your progress. You can do this with a lot of things, I suggest using saveTable (https://processing.org/reference/saveTable_.html) and just have every creature return a tableRow with all muscles, nodes and brain in it. This would be useful if anyone has a bug, they can simply share their creatures with you and you can also share the creatures you made in the video with your viewers.
I download it from this site, i have Processing 3.5.3, I open this and this is not working, it display that size cannot be use there.
Heya! i love your Evulotion simulator, so i just have a small request.
Just make so the dominant Creature never go over 500.
This way we will still have new creatures, with new innervation, and hopefully will spread to the genepole.
So in short, still have 1000 creatures, just that the dominant cant go over 500.
Lots of love, Thanks! :D
im not sure how to even run the program do i need a .BAT file or something?
i downloaded the improvec version von alamaz
when i try to run it i get this error in my processing:
"The method nf(float, int, int) in the type PApplet is not applicable for the arguments (float)
on the line
1065 text("Gift: +"+nf(giftForChompSec)+" seconds", 700, 145);
please help me guys, i really want to run this :/
someone tell what i need to run it or what
Calculating the root is a computational heavy operation; you should avoid it if possible, and most of the case it is.
When checking 2 distances, using their square lead to similar results; if against constant, just square the constant.
In some case like in Node.pde you take the distance, and the you multiply it by itself again:
float acc = dist(vx,vy,vz,pvx,pvy,pvz);
totalNodeNausea += acc*acc*nauseaUnit;
edit: i look at the code, the bottleneck is the sigmoid function, about 1200nanosecond while all the rest of the creature similation takes 2000 nansoseconds.
If a way to speed up that pow is found, the somulation can run much faster.
java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 3
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:541)
at processing.opengl.PJOGL.requestDraw(PJOGL.java:688)
at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:1651)
at processing.core.PApplet.run(PApplet.java:2256)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
at evolutionSteer.getNewCreatureName(evolutionSteer.java:1588)
at evolutionSteer$Creature.(evolutionSteer.java:1858)
at evolutionSteer.draw(evolutionSteer.java:1044)
at processing.core.PApplet.handleDraw(PApplet.java:2386)
at processing.opengl.PJOGL$PGLListener.display(PJOGL.java:862)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:665)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:649)
at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1289)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1119)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:994)
at javax.media.opengl.awt.GLCanvas$11.run(GLCanvas.java:1300)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
processing is telling me that "size() cannot be used here, see https://processing.org/reference/size_.html." I tried windowResize() to size the window and it worked for a bit but the window said it was not responding. Can anyone help me on this?
Also I'm using Processing 4.2.
The size() function is required to be in the function "settings()" as https://processing.org/reference/settings_.html
I have no idea how to make dual support for processing 2 and 3, but as processing stop the execution indicating the size() function call, you may add a little comment to explain the issue.
Your future yourself will thank you when you'll update processing
hi,
could you please extract the logic of the NN from the specific logic of the steering game? if you put it in another project, then you can use that project with a git "submodule".
That would help you and us to develop a stable and optimized lib for your test, without having to reinvent the wheel (ah!) every time
It is saying that I need to move the evolutionSteer file into its own folder? and once i try to run that file it says it can't find the creature class?
Processing 2.2.1, when hit Run button, this error shows up: The nested type Rectangle cannot hide an enclosing type.
Is there a way to open the actual thing in GitHub Desktop?
I got the program to open but it says that evolutionsteer is not responding.
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.