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.

419 B


A simple 3D gravitational simulator I wrote in Rust.


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.