This is unabashedly stolen from this recent question:
What would be the structural impact of an oscillating orbit on a planet?
with its sweet sweet gif
from that question
Around this white-hole stands a telluric planet, quite similar to Mars in terms of composition and orbital characteristics, excepted for one thing. Due to some yet-to-understand space history, its orbit is crossing 8 times the neutral-line, as it is oscillating from and to the pull-zone with contrary forces. It forms a pretty star-like shape, as you can see in the toy model I made1 below
:
The red planet's orbit forming a star-like shape around the white star-like body.
My question: what force could produce an oscillating orbit like the one shown?
The references question wants to know effects on the planet. The force causing the oscillation is handwaving force. But I want to know if such a orbit is possible. I was thinking about both bodies being charged and an induced magnetic force. I was thinking about diamagnetism.
I am not committed to this being a planet and a sun. Any sinewave orbit is ok but the answer has to explain why.