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