arche-demo

command module
v0.0.0-...-28575ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2024 License: MIT Imports: 9 Imported by: 0

README

Arche Demo

Test status Go Reference GitHub MIT license

Demo for the Arche Entity Component System (ECS).

See the live demo here.

Usage

Besides the live demo, you can run the examples locally.

Clone the repository, and navigate into it:

git clone https://github.com/mlange-42/arche-demo.git
cd arche-demo

Then, run individual examples like this:

go run . <example>

In each example directory, file run.go is the entrypoint for an overview of the ECS systems that make up the model.

Dependencies

Due to the use of Ebitengine for rendering, the dependencies of go-gl/gl and go-gl/glfw apply. For Ubuntu/Debian-based systems, these are:

  • libgl1-mesa-dev
  • xorg-dev

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package ants provides a stylized model of ants foraging and scouting, using trail pheromones.
Package ants provides a stylized model of ants foraging and scouting, using trail pheromones.
Package bees provides a stylized model of bee foraging and scouting.
Package bees provides a stylized model of bee foraging and scouting.
Package box2d demonstrates the use of the Go port of Box2D, a 2D physics engine for games.
Package box2d demonstrates the use of the Go port of Box2D, a 2D physics engine for games.
Package common provides types and functions that are used by multiple demos.
Package common provides types and functions that are used by multiple demos.
kd
Package evolution provides an evolutionary model of grazer behavior.
Package evolution provides an evolutionary model of grazer behavior.
Package flocking provides a flocking model, mimicking the behaviour of bird flocks or fish schools.
Package flocking provides a flocking model, mimicking the behaviour of bird flocks or fish schools.
Package logo provides an interactive animation of the Arche logo.
Package logo provides an interactive animation of the Arche logo.
Package matrix provides a matrix-style code rain visualization.
Package matrix provides a matrix-style code rain visualization.
A basic HTTP server for testing the web site.
A basic HTTP server for testing the web site.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL