Trouble making a transparent radial gradient (JavaScript/HTML)
CONTEXT: I am trying to make a light source using ray casting, that the player can use in a randomly generated maze. The rays cast from the mouse pointer. The radial gradient that I'm using changes their colour from white…