A simple simulator designed to visualize the principles of general relativity, written in Go.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Calculation performed on Integrated GPU with GL
-> almost full fps!
Compute the FFT on the CPU to simulate the gravitational field.
This is a very computationally intensive operation, and needs to be moved to the GPU.
However, the implementation of FFT on GPU is taking longer than expected because it is much harder than calculating Newtonian N-body gravity.
Decided to change from 3D to 2D (space) + 1D (gravity field) rendering to increase computational efficiency.