Testing how to draw squares with neon efect on canvas
Basically there are two key elements to get the desired effect:
ctx.globalCompositeOperation = "lighter";
ctx.shadowBlur = 10;
Basically there are two key elements to get the desired effect:
ctx.globalCompositeOperation = "lighter";
ctx.shadowBlur = 10;