doing fancy and beautiful images isn’t my thing, I use Inkscape to do some basic graphics.
No I came across a raster graphic I’ve to redo as vector graphic. It basically is a line with steps:

Sure I can create individual paths with varying thickness and fiddle them together. But maybe there’s a way to achieve this effect on one path without to much manual work (the shown is only an example of the quite long and tedious whole). Unfortunately neither height nor thicknes is constant.
Any suggestions are welcome.
Robert