Skip to content

Latest commit

 

History

History
88 lines (58 loc) · 1.54 KB

README.md

File metadata and controls

88 lines (58 loc) · 1.54 KB


ZBody logo

Concurrent N-body simulation using Barnes-Hut Algorithm in Zig.

Key FeaturesHow To UseDownloadCreditsLicense

Key Features

  • Barnes-Hut Algorithm
  • Concurrent
  • Faaast
  • Many presets
  • Intuitive and smooth controls
  • Spawn Astral bodies with just click
  • Full screen mode
  • Cross platform
    • Linux, macOS, Windows and Web

How To Use

To clone and run this application, you'll need Nix and Git. Thats it, no extra stuff required!

Note You need nix Flakes enabled.

Warning Running and Installing not working yet, you can build it with nix.

Run directly

$ nix run codeberg:pyranota/Z-body

Install

$ nix profile install codeberg:pyranota/Z-body

Develop

# Clone repo
$ git clone https://codeberg.org/pyranota/Z-body

# cd into directory
$ cd Z-body

# Enter development shell
$ nix develop

# Compile and run
$ just

Credits

This software uses the following open source packages:

License

MIT