Cool lightning simulation in canvas. You can interact with it in the following ways:

Click to add new points.

Double Click to remove an existing point.

Click and drag on a point to change its position.

Related: