Cubic lattice representation of a solid torus knot using the surface as a boundary
Few votes (2) and no answers. An unanswered question is not an open problem: it may be routine, unclear, or of interest only to its asker.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
For physics simulation reasons, I would like to respresent a solid torus knot as a collection of integer points sat on a cubic lattice.
If I were to do this using a sphere, I would do this by saying any point in the sphere must satisfy
\(\sqrt{(x-x_c)^2 + (y-y_c)^2 + (z-z_c)^2} \leq r\)
However, I now need to do this for a trefoil (and ideally any torus knot).
To generate the surface of a solid trefoil, I emulated the technique used in this question.
Briefly, I find the normal and binormal of the torus knot, then construct the equation
\(r(\theta,\alpha) = \gamma(\theta) + c \sin(\alpha)\hat{\textbf{n}}(\theta) + c \cos(\alpha)\hat{\textbf{b}}_n(\theta)\)
where \(\gamma(\theta)\) is the path of the torus knot using the linked parameterisation, and c is the radius of the "rope". If I understand this correctly, this gives me the surface of a solid torus.
However, I now need to determine …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.