Skip to content

Artificial Evolution 2.0

Godot 3D ecosystem simulation, powered by Python

Watch evolving populations inhabit a natural landscape.
Inspect the animals. Follow their lives. Keep the science reproducible.

Python engine CI Godot Python MIT License

Documentation website · Get started · Visual gallery · All guides · Controls · Original 2D simulator

Living World with detailed deer, vegetation, atmospheric lighting and real-time creature inspection

Actual application capture · 100 Python creatures · Ground camera · Lush quality

Open the visual gallery → · Animal movement · MP4 · Continuous growth · MP4 · Controls · MP4

A new view of artificial life

Artificial Evolution 2.0 is a Godot 4 desktop application for artificial life and evolutionary simulation, powered by the project's original Python neural-network engine. Deer and wolves move through a forested landscape while the engine controls food, energy, brains, survival, reproduction and evolution.

Explore the world with smooth cameras, follow an individual, inspect its state and neural preview, or return to the research workbench for settings, plots and ancestry. Original simulation rules are the default. An optional physical habitat adds explicitly separate Python terrain, river and climate effects.

The original 2D simulator remains available. V2 adds a new interface and visual world without replacing V1's models, documentation or published research. Project overview · V1 guide

Implemented capabilities

Living animals Natural environments Observable evolution
Detailed deer, stags and wolves Rolling terrain, grass and forests Seven original Python modes
Eleven skeletal actions and smooth blends Flowers, rocks, mountains and water Selection, mutation and heritable traits
Nearby terrain foot IK Wind, clouds, daylight and weather Continuous births and recorded ancestry
Stable source identities and appearance Optional physical habitat rules Configurations, datasets and numerical replay
Interaction Research tools Desktop experience
Creature/edible-plant inspection Population, fitness and meal curves Standalone Apple Silicon application
Focus, follow, orbit, pan and zoom Current-state neural previews Bundled Python, dependencies and art
Confirmed event navigation Mode-specific energy/interaction telemetry Offline runtime and three quality profiles
Pause, 1×/5×/20× and fixed-tick stepping JSON/CSV, numeric genomes, plots and HTML Native Metal rendering and distant-animal batching

Inside the Living World

Predators and prey Terrain, water and source climate
Wolves and deer in a Python-controlled predator–prey run Optional physical habitat with river, rain and inspected animals
Separate evolving gene pools, confirmed captures and observed pursuit/escape. Explicitly enabled slope/wading/climate costs; manual visual overrides remain cosmetic.

Screenshots show actual application runs. The gallery includes all seven modes, a V1/V2 comparison, five real recordings, captions and capture provenance. Art references and synthetic IK fixtures are identified in the animation documentation.

Start the application

Installed desktop app

Download V2.0.0 for Apple Silicon → · Installation and macOS opening instructions

Open Finder → Go → Home → Applications, then double-click Artificial Evolution 2.0.app. Or:

open "$HOME/Applications/Artificial Evolution 2.0.app"

The installed app runs offline with its bundled Python, engine, dependencies and art. It needs no checkout, .venv, Godot, Blender or Homebrew at runtime.

Run from source

From the repository root, prepare Python if no working .venv exists:

python3.13 -m venv .venv
./.venv/bin/python -m pip install -r requirements.txt
./v2/tools/setup_macos.sh
./"v2/Run Artificial Evolution 2.command" -- --immersive --ground-view

The Mac setup requires Homebrew when Godot/Blender is missing. Keep an existing prepared environment rather than recreating it. Godot options go before --; application options go after it. Complete installation guide →

Build and install the Mac app

With the source toolchain prepared:

./v2/tools/build_macos.sh
python3 v2/tools/install_macos.py
open "$HOME/Applications/Artificial Evolution 2.0.app"

Keep using V1

./.venv/bin/python simulator.py

Or select Research → Connection → Open original 2D to launch the unchanged interface with the bundled interpreter. It runs independently when the 3D viewer closes.

Installation and distribution

The current desktop package targets Apple Silicon / arm64, is locally ad-hoc signed and is not Apple notarized. Native validation used macOS 27.0.1 on an M3. The release requires macOS 14 or later, matching the locked Python dependencies. Compatibility details

Download the V2.0.0 Apple Silicon desktop ZIP, checksums and release notes. Source builds remain available; a fresh clone does not include ignored v2/build/. V1 releases remain available separately.

First experiment

  1. Open Research. Choose Food seeking → Meadow → Selected neural.
  2. Keep 100 founders and seed 2801, then Start new population.
  3. Return with Landscape view or V. Click an animal, then Focus or F.
  4. Open Ecosystem / N to inspect confirmed events and scenery controls. Scroll inside the drawer for its lower settings.
  5. Pause with Space, inspect the workbench's neural preview, then export with E.

Model changes normally archive the previous run before replacement. A configuration reload starts fresh founders, not a saved population. A live plot describes one run; controlled studies provide the independent-seed evidence.

Simulation modes

Mode Explore
Food seeking Selected neural, neutral inheritance, random, greedy and frozen-founder baselines
Changing seasons Seasonal food, moving clusters, maturity eligibility and extinction
Obstacles & hazards Radius-aware barriers, damaging regions and risk sensing
Brains & bodies Inherited speed, body size, sensory range and energy trade-offs
Predator & prey Separate evolving populations, hunting/capture and escape observations
Social behavior Isolated groups, optional signaling, stored-food sharing and survival strategies
Continuous ecosystem Overlapping lifetimes, energy-funded births, finite regrowth and lineages

Mode rules · Brains and inheritance · Every setting

Controls at a glance

Action Input
Inspect animal / edible plant Left click
Focus selected animal Double click, Focus, or I
Follow / stop following Follow or F
Orbit / pan Right drag or two-finger gesture / middle drag or Shift + gesture
Zoom Wheel, pinch, − / +
Overview / ground / valley R / C or camera buttons; Valley button
Pause / resume Python Space or top button
Target simulation rate 1× / 5× / 20× menu
Landscape / Research V; Esc returns from immersive to Research
Ecosystem drawer / fullscreen N / ⛶ or Ctrl/Cmd + Enter
Export a run E or Export run

Pointer gestures over panels operate the panel rather than the camera behind it. V1 has different shortcuts. Full user guide →

Architecture

flowchart LR
    View["Godot desktop · view and controls"] <--> Bridge["Local Python bridge"]
    Bridge <--> Python["Original Python engine"]
    Python --> Export["Datasets, genomes, plots and replay"]
    Habitat["Optional physical habitat"] -.-> Python
    classDef core fill:#eaf4ee,stroke:#4c7e62,color:#183c28
    classDef view fill:#edf3fa,stroke:#627e9b,color:#1e354a
    class Python,Export core
    class View view

Python advances fixed 1/60 s ticks. Godot receives snapshots at up to 30 Hz and interpolates poses with a 100 ms delay. Cameras, animation and foot IK do not send corrected creature positions back to the engine. Architecture · Protocol and recovery

Original rules and physical habitat

Original-rule scenery is visual: trees, outside-arena water, weather and lighting do not silently change the experiment. For actual Python slope, wading, excessive-depth barriers and climate costs, choose Research → Physical habitat (v2 rules) → Start new population, or:

./"v2/Launch 3D Application.command" --habitat

The HUD identifies PHYSICAL HABITAT. This is an explicit 2.5D extension with separately recorded configuration and replay. It is not full rigid-body simulation, swimming, currents, tree collisions or new terrain-specific neural sensing. Manual visual overrides remain cosmetic. Rules and combined-model limitations →

Performance and evidence

Native Metal, vegetation budgets, shared distant skeletal draws and selective detailed animation target 60 FPS. Three recorded 100-founder Balanced trials on the local M3 measured about 60 FPS, with p95 frame times around 17.2 ms. The OpenGL fallback measured around 40 FPS. These observations are not guarantees for every machine, population or quality setting.

The latest recorded complete V2 regression suite contains 58 Python tests + 235 Godot checks. The preceding habitat audit also records 431 passing original tests and 13 packaged native cases. CI badges above cover the original Python engine workflow, not native V2 graphics tests. Exact audits and limitations →

Development quick start

./v2/tools/test.sh
python3 v2/tools/verify_original.py
./"v2/Open Godot Editor.command"

Runtime art is committed; launching does not require asset regeneration. Blender is an authoring tool. Development and builds explains current rigs, tests, asset licenses, source preservation and native validation.

Guides and licenses

Use the application Understand the implementation
Visual gallery and demonstrations Capture method and reproduction
Installation · User guide Architecture · Python bridge
Animals and animation Evolution and brains
Environments · Physical habitat Research and validation
Settings · Export/replay Development · Repository review
Troubleshooting Original V1 documentation

Read the documentation website → · Browse the Markdown guides

Installation tutorial · Feature gallery · Architecture · Downloads

Project code is MIT licensed. Animal/landscape sources have recorded CC0 licenses; Godot and Python dependency notices accompany the app. Art credits · Godot notices · Bundled runtime provenance