https://github.com/danielholmes/evolved-virtual-creatures-2d
Implementation of Karl Sims' Evolved Virtual Creatures project in 2D
https://github.com/danielholmes/evolved-virtual-creatures-2d
Last synced: 9 months ago
JSON representation
Implementation of Karl Sims' Evolved Virtual Creatures project in 2D
- Host: GitHub
- URL: https://github.com/danielholmes/evolved-virtual-creatures-2d
- Owner: danielholmes
- Created: 2016-10-13T23:02:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-17T02:29:23.000Z (over 9 years ago)
- Last Synced: 2025-08-25T17:02:50.240Z (10 months ago)
- Language: Scala
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Evolved Virtual Creatures 2D
Implements Karl Sims' [Evolved Virtual Creatures](http://www.karlsims.com/evolved-virtual-creatures.html) project (in 2D
instead of 3D)
## Dependencies
- JDK 1.8+
- Scala 2.11
- SBT 0.13.12
## Running Tests
- All: `sbt test`
- Individual: `sbt 'test-only org.danielholmes.evc2d.HelloWorldSpec'`
- Individual Continuous: `sbt ~'test-only org.danielholmes.evc2d.HelloWorldSpec'`
## Running in Development
`sbt ~fastOptJS`
Then access via:
[http://localhost:12345/target/scala-2.11/classes/index-dev.html](http://localhost:12345/target/scala-2.11/classes/index-dev.html)
Edits to the scala source will automatically reload this page
## Production Version
`sbt fullOptJS`
## Notes
- 50 - 100 generations
- population of 300
- survival ratio - 1/5 (number of creatures that breed for next population). Random creatures added if less than 1/5
with positive fitness