Tangled Knot Function
There is a body of work starting with Birman and Williams, and continued by Ghrist, Holmes, and Sullivan, concerning knottedness of closed orbits of flows. The flows they consider are certain Axiom A flows on $S^3$ with interesting basic sets, for example the Lorentz attractor. Williams' paper "Lorentz knots are prime" shows that all the closed orbits of the Lorentz attractor are prime knots. And, being an Axiom A basic set, closed orbits are dense in the Lorentz attractor. So if $f$ is the time $\epsilon$ map of a flow on $S^3$ having the Lorentz attractor as a basic set, then you'll get lots of examples by choosing $p$ on longer and longer closed orbits, as long as you are careful to connect $f^k(p)$ to $f^{k+1}(p)$ by a flow segment. I am guessing that these knots will be more and more complicated as you choose $p$ to have longer and longer orbit.
If you parametrize a torus in $\mathbb{R}^3$ as $(x(u,v),y(u,v),z(u,v))$, $0\le u,v<1$, you can easily generate the torus knot $(3,q)$ (with crossing number $2q$) for $q$ large enough and not divisible by three by letting $f(u,v) = (u+3/q^2 \mod 1,v+1/q \mod 1)$ and $n=q^2$. So you just have to embed a continuum of these tori with $q$ varying continuously, and you'll have a function $f$ that generates every knot $(3,q)$. You can probably also improve on how $n$ grows with $q$.