jarrydac

joined 3 weeks ago
[–] jarrydac@aussie.zone 1 points 4 hours ago

You're right, thank you

 

This is an early experiment in demonstrating special-relativistic effects in space invaders. I forked a pygame implementation of space-invaders, and adapted in to my OpenGL program for special-relativistic drawing: jarrydac/gl_relativity.

This version is not very playable. But I already like the way that the transverse doppler shift colors the player and enemy bullets differently.

 

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.