Torus Knot
An implementation of http://rwoodley.org/?p=1134, made in Processing.
Different parameters can be changed to get different shapes. Rotating them around the y-axis results in some pretty cool animations that got me headaches sometimes.
![](https://sjoerd.tech/wp-content/uploads/2019/10/TorusKnot1.gif)
![](https://sjoerd.tech/wp-content/uploads/2019/10/TorusKnot2.gif)
![](https://sjoerd.tech/wp-content/uploads/2019/10/TorusKnot3.gif)
![](https://sjoerd.tech/wp-content/uploads/2019/10/TorusKnot4.gif)
3D Metaballs
3D Metaballs, coded from scratch using an implementation of a marching cubes algorithm, as can be found here: http://paulbourke.net/geometry/polygonise/ , made in Processing
![](https://sjoerd.tech/wp-content/uploads/2019/10/metaballs3d2.gif)
![](https://sjoerd.tech/wp-content/uploads/2019/10/metaballs3d3.gif)
![](https://sjoerd.tech/wp-content/uploads/2019/10/metaballs3d.gif)