I have fond memories of running programs to create images similar to this at some time in the past on some sort of home computer. Has anything like this been done in j5.ps? It would be even better if these were animated with radiating surface motion! These are from Jim’s Demo Film: https://www.youtube.com/watch?v=lbxJajIGBWo
If you want your example animated, the most efficient way would be to render a grid of triangles and animate them in the vertex shader. For your lines to occlude, you’d create a mesh of alternating rows of narrow green and wider black triangle strips so that the black hide the green strips that are behind.
I’m drawing the lines in the fragment shader, so they get stretched when the triangles stretch on steep slopes. I suppose you could make them more uniform by dividing their width by the slope, but I kind of like them as they are.