All Projects → chrxh → alien

chrxh / alien

Licence: GPL-3.0 license
ALIEN is a CUDA-powered artificial life simulation program.

Programming Languages

C++
36643 projects - #6 most used programming language
Cuda
1817 projects
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to alien

dishtiny
DISHTINY: A Platform for Studying Open-Ended Evolutionary Transitions in Individuality
Stars: ✭ 25 (-99%)
Mutual labels:  artificial-life, open-ended-evolution
evoplex
Evoplex is a fast, robust and extensible platform for developing agent-based models and multi-agent systems on networks. It's available for Windows, Linux and macOS.
Stars: ✭ 98 (-96.07%)
Mutual labels:  agent-based-simulation
LiSE
Rules-based engine for life sims, with time travel
Stars: ✭ 88 (-96.47%)
Mutual labels:  agent-based-simulation
Legion-Engine
Rythe is a data-oriented C++17 game engine built to make optimal use of modern hardware.
Stars: ✭ 502 (-79.86%)
Mutual labels:  physics-engine
agentpy
AgentPy is an open-source framework for the development and analysis of agent-based models in Python.
Stars: ✭ 236 (-90.53%)
Mutual labels:  agent-based-simulation
kosm
Kosm for Android source code
Stars: ✭ 33 (-98.68%)
Mutual labels:  physics-engine
apxr run
A topology and parameter evolving universal learning network.
Stars: ✭ 14 (-99.44%)
Mutual labels:  agent-based-simulation
ign-physics
Abstract physics interface designed to support simulation and rapid development of robot applications.
Stars: ✭ 40 (-98.4%)
Mutual labels:  physics-engine
Playground
A playground for android developers
Stars: ✭ 41 (-98.36%)
Mutual labels:  physics-engine
Py3ODE
Port of PyODE for Python 3
Stars: ✭ 29 (-98.84%)
Mutual labels:  physics-engine
prismarine-physics
Provide the physics engine for minecraft entities
Stars: ✭ 24 (-99.04%)
Mutual labels:  physics-engine
3D interactive graphics rendering engine
Develop a 3D interactive graphics rendering engine
Stars: ✭ 31 (-98.76%)
Mutual labels:  physics-engine
COVID19 AgentBasedSimulation
COVID-ABS: An Agent-Based Model of COVID-19 Epidemic to Simulate Health and Economic Effects of Social Distancing Interventions
Stars: ✭ 56 (-97.75%)
Mutual labels:  agent-based-simulation
flocc
Agent-based modeling in JavaScript in the browser or on the server.
Stars: ✭ 26 (-98.96%)
Mutual labels:  agent-based-simulation
ant sugar
Genetic Algorithms, Mutation, Crossover, Mating, Particle Animation, Gaming, Learning, P5JS, Fun Project
Stars: ✭ 33 (-98.68%)
Mutual labels:  physics-engine
voxel-physics-engine
Simple but physical engine for voxels. Demo:
Stars: ✭ 59 (-97.63%)
Mutual labels:  physics-engine
MesaFireEvacuation
Agent Based Fire Evacuation Model built using Project Mesa
Stars: ✭ 21 (-99.16%)
Mutual labels:  agent-based-simulation
Torque
2d 纯计算高性能刚体物理引擎
Stars: ✭ 62 (-97.51%)
Mutual labels:  physics-engine
multiplayer-babylon-js-game
Multiplayer BabylonJS game with Server and Client-Side physics engine synchronization
Stars: ✭ 74 (-97.03%)
Mutual labels:  physics-engine
js-simulator
General-purpose discrete-event multiagent simulation library for agent-based modelling and simulation
Stars: ✭ 52 (-97.91%)
Mutual labels:  agent-based-simulation

ALIEN - Explore worlds of artificial life

Artificial LIfe ENvironment (ALIEN) is an artificial life simulation tool based on a specialized 2D particle engine in CUDA for soft bodies and fluid-like media. Each simulated body consists of a network of particles that can be enriched with higher-level functions, ranging from pure information processing capabilities to physical equipment (such as sensors, muscles, weapons, constructors, etc.) whose executions are orchestrated by a signaling system. The bodies can be thought of as agents or digital organisms operating in a common environment.

The simulation code is written entirely in CUDA and optimized for large-scale real-time simulations with millions of particles. The development is driven by the desire to better understand the conditions for (pre-)biotic evolution and the growing complexity of biological systems. An important goal is to make the simulator user-friendly through a modern user interface, visually appealing rendering and a playful approach.

Main features

Physics and graphics engine

  • Particles for simulating soft body mechanics, heat dissipation, bondings, damages, phase transitions, etc.
  • Real-time user interactions with running simulations
  • Simulation runs entirely on GPU via CUDA
  • Rendering and post-processing via OpenGL using CUDA-OpenGL interoperability

Artificial Life extensions

  • Programmable particle actions for simulating digital organisms and studying evolution
  • Information and energy transportation layer between connected particles
  • Allow spatiotemporally varying simulation parameters

Extensive editing tools

  • Built-in graph editor
  • Built-in programming environment for designing customized machines and worlds
  • Mass-operations and (up/down) scaling functions for simulations

Networking

  • Built-in simulation browser
  • Download and upload simulation files
  • Rate simulations by likes

But for what is this useful?

  • A first attempt to answer: Feed your curiosity by watching evolution at work! As soon as self-replicating machines come into play and mutations are turned on, the simulation itself does everything.
  • Perhaps the most honest answer: Fun! It is almost like a game with a pretty fast and realistic physics engine. You can make hundreds of thousands of machines accelerate and destroy with the mouse cursor. It feels like playing god in your own universe with your own rules. Different render styles and a visual editor offer fascinating insights into the events. There are a lot of videos on the YouTube channel for illustration.
  • A more academic answer: A tool to tackle fundamental questions of how complexity or life-like structure may arise from simple components. How do entire ecosystems adapt to environmental changes and find a new equilibrium? How to find conditions that allow open-ended evolution?

Documentation

A documentation, which introduces the reader to the simulator with tutorial-like articles can be found at alien-project.gitbook.io/docs.

Further information and artwork:

Minimal system requirements

An Nvidia graphics card with compute capability 5.2 or higher is needed. Please check https://en.wikipedia.org/wiki/CUDA#GPUs_supported.

Installer

An installer for 64-bit binaries is provided for Windows 10: download link.

In the case that the program crashes for an unknown reason, please refer to the troubleshooting section in alien-project.org/downloads.html.

How to build the sources

The build process is mostly automated using the cross-platform CMake build system and the vcpkg package manager, which is included as a Git submodule.

Getting the sources

To obtain the sources, please open a command prompt in a suitable directory (which should not contain whitespace characters) and enter the following command:

git clone --recursive https://github.com/chrxh/alien.git

Note: The --recursive parameter is necessary to check out the vcpkg submodule as well. Besides that, submodules are not normally updated by the standard git pull command. Instead, you need to write git pull --recurse-submodules.

Build instructions

Prerequisites: CUDA Toolkit 11.2+ and a toolchain for CMake (e.g. GCC 9.x+ or MSVC v142+)

Build steps:

mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release -j8

If everything goes well, the ALIEN executable can be found under the build directory in ./alien or .\Release\alien.exe depending on the used toolchain and platform.

Contributing to the project

Contributions to the project are very welcome. The most convenient way is to communicate via GitHub Issues, Pull requests or the Discussion forum depending on the subject. For example, it could be

  • Providing new content (simulation or pattern files)
  • Producing or sharing media files
  • Reporting of bugs, wanted features, questions or feedback via GitHub Issues or in the Discussion forum.
  • Pull requests for bug fixes, code cleanings, optimizations or minor tweaks. If you want to implement new features, refactorings or other major changes, please use the Discussion forum for consultation and coordination in advance.
  • Extensions or corrections to the alien-docs. It has its own repository.

A short architectural overview of the source code can be found in the documentation.

Dependency list

Screenshots

Startup screen

Evolving self-replicating machines in action

Explosion inside a large grid of robots

Statistics tools

Pattern editor and programming environment

License

ALIEN is licensed under the GPLv3.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].