this could be usefull when making a glowing vector engine
Actually I made this code for a friend who just started working on a small game to get back into coding. He is making a game with a vector look. He is using images, but all objects are drawn like line vector. So I made this function to make it easy to add a glowing look to the objects without having to manually draw the gradient lines.
The color selection could posibly be better using some kind of curve math instead of just dividing by 2, but for what it was made for, I think it will work. So I am probably not going to improve further on this one, but I figured that someone might use something like this as well.
[edit] nice squiggles
