i enjoyed reading about lissajous curves in brendan dawes’ “analog in, digital out”. specifically he was speaking about iteration and how altering one of the parameters of the algorithm can create vastly different output.
inspired by that here’s a sketch expanding the algorithm into 3d. not groundbreaking but it certainly looks pretty. following other’s example i was able to get openGL working in a browser, so the script runs quickly. the instructions and files for jogl are at https://jogl-demos.dev.java.net/applettest.html. i used the versions of jogl.jar, gluegen-rt.jar and applet-launcher.jar as found at java.net.
click-dragging the mouse will tumble the figure. zZ,xX,cC will decrease/increase the multipliers for the x,y,z components of the algorithm. the spacebar will clear the screen.