Please sign in to access this page

General Relativity Simulator

General Relativity Simulator Used AI

6 devlogs
21h 13m
•  Ship certified
Created by World

A simple simulator designed to visualize the principles of general relativity, written in Go.

Timeline

Ship 2

1 payout of shell 146.0 shells

World

3 months ago

World Covers 2 devlogs and 6h 28m

Calculation performed on Integrated GPU with GL
-> almost full fps!

Update attachment
World World 3 months ago
As you can see here( https://github.com/deveworld/relativity_simul ), I used raylib-go with go-gl
Manav Manav 3 months ago
what engine are you using?

Introduction of GPU-accelerated calculations based on go-gl!

Update attachment

Ship 1

1 payout of shell 417.0 shells

World

4 months ago

World Covers 4 devlogs and 14h 45m

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.

Update attachment

Decided to change from 3D to 2D (space) + 1D (gravity field) rendering to increase computational efficiency.

Update attachment

FULL FPS with 100k bodies in GPU (OpenGL)
more optimization!!!

Update attachment

Barnes-Hut Simulation
~10 FPS with 100k bodies in CPU
more optimization needed!!

Update attachment