Zebra Stripes in Grasshopper with C#

Quick Update:

I managed it in the end by just converting and adjusting a VB definition posted by @DavidRutten Surface curvature analysis, like "zebra" in Rhino - Grasshopper

You will have to edit line 63 and set filepath to the location that you are keeping ‘zebra.png’.

By editing the zebra.png file. I’m thinking of adding a slider that flips between a range of files in order to adjust the thickness/spacing of the lines.

zebra
zebra.gh (6.3 KB)

(Also this discussion was useful: 'Zebra' in Grasshopper - #2 by laurent_delrieu)