A 3D gravitational simulator, written in rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Stephen f89578989b Don't redo the iteration when loading an existing simulation 1 month ago
src Don't redo the iteration when loading an existing simulation 1 month ago
.gitignore Added saving/loading 1 month ago
Cargo.lock Added saving/loading 1 month ago
Cargo.toml Added saving/loading 1 month ago
Jenkinsfile Jenkins fix 1 month ago
README.md Moved to custom 3D renderer engine 1 month ago
rustfmt.toml formatting 1 month ago

README.md

galaxy3d-rust

A simple 3D gravitational simulator I wrote in Rust.

Usage

First, generate the frames.

cargo run --release -- create

This will generate a bunch of png images in the frames directory.

Next, create the video.

ffmpeg -i frames/%04d.png out.mp4

The video will be created in the current directory with the name out.mp4.

This is very much a WIP, and all parameters are hardcoded for now.