Skip to content

KnotCurve ​

The sampled points of a knot's embedding in space — only a torus knot has a parameterisation on file, so any other knot declines rather than guessing one from a braid word.

KnotCurve(knot, samples?)the sampled points of T(p,q)T(p,q)'s torus embedding
Typed signatures
TypePackageApplies
(expression<Braid> | expression<FigureEightKnot> | expression<Link> | expression<PretzelKnot> | expression<TorusKnot> | expression<TwistKnot> | string, integer?) -> list<list<real>>braidalways

Domain: Braids and knots

Examples

Basic #

The trefoil, sampled at 50 points

live ↗
InLength(KnotCurve(TorusKnot(2,3),50))\mathrm{Length}(\mathrm{KnotCurve}(\mathrm{TorusKnot}(2, 3), 50))Out5050

The curve starts on the outer circle of the torus

live ↗
InFirst(KnotCurve(TorusKnot(2,3),40))\mathrm{First}(\mathrm{KnotCurve}(\mathrm{TorusKnot}(2, 3), 40))Out[3,0,0]\bigl\lbrack3, 0, 0\bigr\rbrack
About
Examples2

See also: ParametricCurve, TorusKnot