Still not working line code

I assume this is the direction I should be headed in however from how
orbits are drawn.