post processing outline thickness

So I found a video, linked below, for cell shading and a nice outline but I was wondering if anyone knew how to take the outlines a step further. I’m trying to emulate pen strokes so the lines can go from thin to thick to thin. Does anyone know how or know of a resource I can look up for it?