Ark Pixel

September 15, 2025 ยท View on GitHub

Test status Coverage Status Go Report Card Go Reference GitHub MIT license

Ark Pixel provides OpenGL graphics and live plots for the Ark Entity Component System (ECS) using the Pixel game engine.

Ark (logo)

Screenshot
Screenshot showing Ark Pixel features, visualizing an evolutionary forest model.

Features

  • Free 2D drawing using a convenient OpenGL interface.
  • Live plots using unified observers (time series, line, bar, scatter and contour plots).
  • ECS engine monitor for detailed performance statistics.
  • Entity inspector for debugging and inspection.
  • Simulation controls to pause or limit speed interactively.
  • User input handling for interactive simulations.

Installation

go get github.com/mlange-42/ark-pixel

The dependencies of go-gl/gl and go-gl/glfw apply:

  • A cgo compiler (typically gcc).
  • For Ubuntu/Debian-based systems, you also need libgl1-mesa-dev and xorg-dev

Usage

See the API docs for details and examples.

Go Reference

License

This project is distributed under the MIT licence.