This is a demonstration of how black holes curve the path of light. Click and drag to make rays of light. Press the 1, 2, and 3 keys to generate rays. Change the sliders in the corners. C determines the speed of light. Gravity changes the size and pull of the black hole. N changes the number of rays generated when pressing the 1, 2 & 3 keys. Code by me