diff options
Diffstat (limited to 'src/input/knot.input.pamphlet')
-rw-r--r-- | src/input/knot.input.pamphlet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/knot.input.pamphlet b/src/input/knot.input.pamphlet index 073e649d..b9e0e467 100644 --- a/src/input/knot.input.pamphlet +++ b/src/input/knot.input.pamphlet @@ -25,8 +25,8 @@ torusKnot(p,q,r) == b := 1 ab := a+b fac := 2*ab/(1.1*ab-sin(q*t)) - Title := concat("Torus Knot of Type (", concat(p::String, - concat(",", concat(q::String, ")")))) + Title := concat("Torus Knot of Type (", concat(string p, + concat(",", concat(string q, ")")))) Curve := curve(a*fac*cos(p*t), a*fac*sin(p*t), b*fac*cos(q*t)) r = 0 => draw(Curve, t=0..2*%pi, title == Title) draw(Curve, t=0..2*%pi, tubeRadius == r, title == Title) |