I want to create an method that renders electricity.
public void renderTeslaBeam(Point startPos, Point endPos, Color boltColor, float boltThinkness) { ..... }
I want the beam to look something like this: