3D Wire Frame Surface Plots

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

TIA

Welcome to the forum.

Amazing how far computer animation has advanced since 1985.

Although I personally haven’t created similar plots using p5.js you might explore OpenProcessing as there are 10s of thousands of sketches on there.

You might also try the p5js web editor to create your own sketches and examine sketches created by othersl.

A modern equivalent is to use voxels: https://openprocessing.org/@u465377/2412876

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.

You also might find something similar on https://www.vertexshaderart.com/

Here’s a version using the vertex shader: https://openprocessing.org/@u465377/2939374

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.

Thank you for the help!

With the assistance of AI, here’s what I have so far: