See the Pen tempest-stroke-example-3 by soritesparadox (@soritesparadox) on CodePen.