Fractallike loop

How to model something similar to this ?

the trick with arrays is to stack one array modifier on top of another on top of another etc… other than that, some one in the python section may be able to come up with a numerical equation that will produce a similar result.

I’ve stack torus knots in the middle. I don’t know how to do outer edge and small ornaments.

@Modron ,you think as a python recursive script?

there’s a box where you can enter numerical formulae, you don’t actually need to know python, just math and geometry.