animation nodes knot
I haven't used the animation nodes addon in a while - so I dug it up and created a new animation with it. It took me a while to get it running on my box due to python installation absurdities but I finally got an 1.6 up and running in my blender 2.78 installation. For this animation I used an empty list of vectors and filled it with random vectors generated by a vector-wiggle-node. I then used these vectors to create curves. Since I wanted to create a knot I used a second loop that creates several of these splines and adds them into a spline list. This spline-list is then added to a new object and rendered.
you can download the blend file here
See also:
Animation Node experiment - curve cluster
Animation Node experiment - script node spiral
blender 2.80 experiment 10 - animation nodes
blender 2.80 experiment 7 - keyframes