skip to main | skip to sidebar

xsignal

Wednesday, October 18, 2006

TorusKnots


Having Fun with Torus Knot !

torusknot[a_, b_, c_][p_, q_][t_] := { (a + b Cos[q t]) Cos[p t], (a + b Cos[q t]) Sin[p t], c Sin[q t]}

ParametricPlot3D[torusknot[10, 4, 5][100, 1.5][t] // Evaluate, {t, 0, 120π}, PlotPoints→200 , ViewPoint→ {20, 30, 70}] ; //Timing

[Graphics:HTMLFiles/index_4.gif]


{0.008 Second, Null}

ParametricPlot3D[torusknot[10, 4, 5][100, 1.5][t] // Evaluate, {t, 0, 1π}, PlotPoints→200 , ViewPoint→ {20, 30, 70}] ; //Timing

[Graphics:HTMLFiles/index_7.gif]


{0.008001 Second, Null}

ParametricPlot3D[torusknot[10, 4, 5][100, 1.5][t] // Evaluate, {t, 0, 1π}, PlotPoints→100 , ViewPoint→ {20, 30, 70}] ; //Timing


[Graphics:HTMLFiles/index_10.gif]


{0.004 Second, Null}


ParametricPlot3D[torusknot[10, 4, 5][100, 4π][t] // Evaluate, {t, 0, 1π}, PlotPoints→100 , ViewPoint→ {20, 30, 70}] ; //Timing


[Graphics:HTMLFiles/index_13.gif]


{0.004 Second, Null}

ParametricPlot3D[torusknot[100, 34π, 52][1003, 433π][t] // Evaluate, {t, 0, 10000π}, PlotPoints→100 , ViewPoint→ {20, 30, 70}] ; //Timing


[Graphics:HTMLFiles/index_16.gif]


{0.004 Second, Null}

torusknot[a_, b_, c_][p_, q_][t_] := { (a + b Cos[q t]) Cos[p t], (a + b Cos[q t]) Sin[p t], c Sin[q t]} ;

ParametricPlot3D[torusknot[u, 3, 5][3, u][t], {t, 0, 3}, {u, 0, 3}]



[Graphics:HTMLFiles/index_20.gif]




-Graphics3D -


In[49]:=






[Graphics:HTMLFiles/index_23.gif]




Out[50]=






-Graphics3D -








Posted by xsignal at 10:25 PM
Labels: knots, Math, torus knots

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2008 (5)
    • ►  04/27 - 05/04 (2)
    • ►  04/20 - 04/27 (2)
    • ►  01/27 - 02/03 (1)
  • ►  2007 (108)
    • ►  10/21 - 10/28 (3)
    • ►  10/14 - 10/21 (4)
    • ►  10/07 - 10/14 (1)
    • ►  09/23 - 09/30 (1)
    • ►  09/16 - 09/23 (1)
    • ►  09/09 - 09/16 (11)
    • ►  09/02 - 09/09 (1)
    • ►  08/26 - 09/02 (4)
    • ►  08/19 - 08/26 (1)
    • ►  08/12 - 08/19 (6)
    • ►  08/05 - 08/12 (8)
    • ►  07/29 - 08/05 (1)
    • ►  07/15 - 07/22 (5)
    • ►  07/08 - 07/15 (3)
    • ►  06/24 - 07/01 (2)
    • ►  06/17 - 06/24 (9)
    • ►  06/03 - 06/10 (4)
    • ►  05/27 - 06/03 (16)
    • ►  05/20 - 05/27 (1)
    • ►  05/06 - 05/13 (2)
    • ►  04/22 - 04/29 (11)
    • ►  03/25 - 04/01 (2)
    • ►  03/18 - 03/25 (2)
    • ►  03/11 - 03/18 (4)
    • ►  03/04 - 03/11 (1)
    • ►  02/25 - 03/04 (4)
  • ▼  2006 (48)
    • ►  12/17 - 12/24 (1)
    • ►  11/19 - 11/26 (1)
    • ►  11/05 - 11/12 (5)
    • ►  10/29 - 11/05 (3)
    • ►  10/22 - 10/29 (6)
    • ▼  10/15 - 10/22 (1)
      • TorusKnots
    • ►  10/08 - 10/15 (4)
    • ►  10/01 - 10/08 (5)
    • ►  09/24 - 10/01 (1)
    • ►  09/10 - 09/17 (3)
    • ►  09/03 - 09/10 (2)
    • ►  08/27 - 09/03 (2)
    • ►  08/20 - 08/27 (9)
    • ►  08/13 - 08/20 (2)
    • ►  08/06 - 08/13 (3)

Links

  • IPSUID, aka Physics Dude
  • Google News

About Me

xsignal
View my complete profile