Gideros Lightning object draws a randomly generated lightning with glow effect from x and y coordinates, to other x and y coordinates.
You can also specify lightning bolt color, width, lightning glow color, width, detalization level and displacement offsets
This object is adapted from https://bitbucket.org/ndoss and wrapped into Gideros class for reusability.
Package contains lightning.lua and example Gideros application project.
--initilize lightning
local bolt = Lightning.new()
stage:addChild(bolt)