A Newtonian Gravity particle simulation on the GPU
Format: Key Description
[default] (extra info)
Space Pause/Unpause simulation
[paused]
f Enable/Disable following center of mass
[disabled]
c Enable/Disable capture
[disabled] (Requires the capture
feature)
When the capture
feature is enabled (default) a frame_buffer.bin
file is created.
when capturing the frame_buffer.bin
file will get filled with raw frames.
stdout
will contain the used parameters (Width, Height and Format)
NOTE:
The frames are not seperated by any header or byte sequence.
use frame_buffer_to_video.sh
and input the parameters given from stdout
when asked
the frames will be captured at a locked framerate
if 30
fps is selected you'll get a 30
fps output.