RetroFed Forum
Your home away from modern life.
My project simulating special-relativistic effects in OpenGL
Post Reply
AuthorMessage
jarrydac aussie.zone jarrydac@aussie.zone
Joined: 2026-04-23
Quote

Spaceships orbiting on a black background, the receding ships are red-shifted and the approaching ships are blue-shifted.

I graduated from my bachelors in December, and I'm feeling burnt-out about job hunting. This is a project I wrote during my degree, in my spare time, to try out some ideas from my lectures and to learn OpenGL.

I took this screenshot while I was testing out monochromatic lighting. The ships are rotating clockwise.

I found it interesting that the receding ships bunch more closely together, that really convinced me that I had it working right.

The code is on GitHub jarrydac/gl_relativity. It's quite rough.

25   Original
Tomassci sh.itjust.works Tomassci@sh.itjust.works
Joined: 2024-01-04
#2 · Quote Reply

That sounds very interesting. Will chevk it out later.

1
Post Reply
Back to top