Lightning effect JS is an object that can draw a random lightning bolt on the page. It can create a canvas on which a glowing random line similar to lightning bolt is drawn within given page boundaries. The position, color, and thickness of the lightning bolt are configurable parameters.
Gideros Lightning effect draws randomly-generated lightning with a glow effect from x and y coordinates to other x and y coordinates. You can specify the lightning bolt color and width, lightning glow color and width, detalization level, and displacement offsets. This object is adapted from ndoss and wrapped in a Gideros class for reusability.