I was wondering what would happen if you played Newton Wars (aka Gravitational Combat), but had a full visualization showing you which target/planet you would hit when shooting in that direction with that force!

So I wrote a #glsl shader to figure that out, and it's really pretty! 

This is how it works: If you hover over a red pixel in the diagram, you can be sure you'll hit the red planet! The lightness is how soon you'll hit it.

Here's a similar diagram for where a particle would end up if you just drop it at that point!
@blinry I'm quite sure you know it, but for anyone who doesn't, this coloring technique is the same principle behind the iconic Mandelbrot fractal: https://www.youtube.com/watch?v=y9BK--OxZpY
The meaning within the Mandelbrot set

YouTube