<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://groupkos.com/dev/index.php?action=history&amp;feed=atom&amp;title=Dev%3AP5.js_Tori_knots_platonics_interference_and_misc</id>
	<title>Dev:P5.js Tori knots platonics interference and misc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://groupkos.com/dev/index.php?action=history&amp;feed=atom&amp;title=Dev%3AP5.js_Tori_knots_platonics_interference_and_misc"/>
	<link rel="alternate" type="text/html" href="http://groupkos.com/dev/index.php?title=Dev:P5.js_Tori_knots_platonics_interference_and_misc&amp;action=history"/>
	<updated>2026-05-16T00:41:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>http://groupkos.com/dev/index.php?title=Dev:P5.js_Tori_knots_platonics_interference_and_misc&amp;diff=3068&amp;oldid=prev</id>
		<title>XenoEngineer: /* Sketch of a n-tori on a donut using arrayed points drawn with cylinders between points */</title>
		<link rel="alternate" type="text/html" href="http://groupkos.com/dev/index.php?title=Dev:P5.js_Tori_knots_platonics_interference_and_misc&amp;diff=3068&amp;oldid=prev"/>
		<updated>2024-01-31T12:09:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Sketch of a n-tori on a donut using arrayed points drawn with cylinders between points&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:09, 31 January 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Sketch of a n-tori on a donut using arrayed points drawn with cylinders between points ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Sketch of a n-tori on a donut using arrayed points drawn with cylinders between points ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;small&amp;gt;&amp;amp;copy;[[User:XenoEngineer|XenoEngineer]]&amp;lt;/small&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;small&amp;gt;&amp;amp;copy;[[User:XenoEngineer|XenoEngineer]]&amp;lt;/small&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; This approach uses pre-calculated points along a torus knot curve, with interconnecting cylinders (to reduce point count and render faster).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;big&amp;gt;&lt;/del&gt;&amp;#039;&amp;#039;&amp;#039;This file is GPT generated to conform as a compatible design that a can be realized in P5.js or POVRay either.&amp;#039;&amp;#039;&amp;#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/big&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;This file is GPT generated to conform as a compatible design that a can be realized in P5.js or POVRay either.&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre style=&amp;quot;background:wheat; color:brown; padding:0 10px; max-width:880px; margin:0 10px; &amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre style=&amp;quot;background:wheat; color:brown; padding:0 10px; max-width:880px; margin:0 10px; &amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>XenoEngineer</name></author>
	</entry>
	<entry>
		<id>http://groupkos.com/dev/index.php?title=Dev:P5.js_Tori_knots_platonics_interference_and_misc&amp;diff=3066&amp;oldid=prev</id>
		<title>XenoEngineer: Created page with &quot;Category:p5.js  === Sketch of a n-tori on a donut using arrayed points drawn with cylinders between points === &lt;small&gt;&amp;copy;XenoEngineer&lt;/small&gt;  &lt;big&gt;&#039;&#039;&#039;This file is GPT generated to conform as a compatible design that a can be realized in P5.js or POVRay either.&#039;&#039;&#039;&lt;/big&gt;   &lt;pre style=&quot;background:wheat; color:brown; padding:0 10px; max-width:880px; margin:0 10px; &quot;&gt; // PoVRay 3.7 Scene File &quot; lightSpeed.pov&quot; // author:  Assistant XenoEngineer (...&quot;</title>
		<link rel="alternate" type="text/html" href="http://groupkos.com/dev/index.php?title=Dev:P5.js_Tori_knots_platonics_interference_and_misc&amp;diff=3066&amp;oldid=prev"/>
		<updated>2024-01-31T12:06:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/dev/index.php/Category:P5.js&quot; title=&quot;Category:P5.js&quot;&gt;Category:p5.js&lt;/a&gt;  === Sketch of a n-tori on a donut using arrayed points drawn with cylinders between points === &amp;lt;small&amp;gt;©&lt;a href=&quot;/dev/index.php/User:XenoEngineer&quot; title=&quot;User:XenoEngineer&quot;&gt;XenoEngineer&lt;/a&gt;&amp;lt;/small&amp;gt;  &amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;This file is GPT generated to conform as a compatible design that a can be realized in P5.js or POVRay either.&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;   &amp;lt;pre style=&amp;quot;background:wheat; color:brown; padding:0 10px; max-width:880px; margin:0 10px; &amp;quot;&amp;gt; // PoVRay 3.7 Scene File &amp;quot; lightSpeed.pov&amp;quot; // author:  Assistant XenoEngineer (...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:p5.js]]&lt;br /&gt;
&lt;br /&gt;
=== Sketch of a n-tori on a donut using arrayed points drawn with cylinders between points ===&lt;br /&gt;
&amp;lt;small&amp;gt;&amp;amp;copy;[[User:XenoEngineer|XenoEngineer]]&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;This file is GPT generated to conform as a compatible design that a can be realized in P5.js or POVRay either.&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:wheat; color:brown; padding:0 10px; max-width:880px; margin:0 10px; &amp;quot;&amp;gt;&lt;br /&gt;
// PoVRay 3.7 Scene File &amp;quot; lightSpeed.pov&amp;quot;&lt;br /&gt;
// author:  Assistant XenoEngineer (Chat GPT 4.0)&lt;br /&gt;
// prompter: XenoEngineer@groupKOS.com&lt;br /&gt;
// date: 12.31.2023&lt;br /&gt;
&lt;br /&gt;
#version 3.7;&lt;br /&gt;
global_settings{ assumed_gamma 1.15 }&lt;br /&gt;
#default{ finish{ ambient 0.125 diffuse 1.2 }} &lt;br /&gt;
&lt;br /&gt;
#include &amp;quot;colors.inc&amp;quot;&lt;br /&gt;
#include &amp;quot;textures.inc&amp;quot;&lt;br /&gt;
                                 &lt;br /&gt;
#macro Axis_(PointTo, AxisLen, axesRadius, Dark_Texture, Light_Texture) &lt;br /&gt;
&lt;br /&gt;
    union{&lt;br /&gt;
        cylinder { &lt;br /&gt;
            PointTo*AxisLen, -PointTo*AxisLen&lt;br /&gt;
            axesRadius                                                 &lt;br /&gt;
            texture{ checker texture{Dark_Texture} texture{Light_Texture} translate&amp;lt;0.1,0,0.1&amp;gt; } &lt;br /&gt;
        }              &lt;br /&gt;
        cone{ &lt;br /&gt;
            PointTo*AxisLen, axesRadius*3, PointTo*AxisLen*1.075, 0  &lt;br /&gt;
            texture{Dark_Texture} &lt;br /&gt;
        } &lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
#end // of macro Axis_()&lt;br /&gt;
#macro AxisXYZ( AxisLenX, AxisLenY, AxisLenZ, axesRadius, Tex_Dark, Tex_Light)&lt;br /&gt;
&lt;br /&gt;
    union{&lt;br /&gt;
        #if (AxisLenX != 0)  &lt;br /&gt;
         object { Axis_(x, AxisLenX, axesRadius, Tex_Dark, Tex_Light)   }// x-Axis&lt;br /&gt;
         text   { ttf &amp;quot;arial.ttf&amp;quot;,  &amp;quot;x&amp;quot;,  0.15,  0  texture{Tex_Dark} &lt;br /&gt;
                  scale 0.5 translate &amp;lt;AxisLenX+0.05,0.4,-0.10&amp;gt;}&lt;br /&gt;
        #end &lt;br /&gt;
        #if (AxisLenY != 0)&lt;br /&gt;
         object { Axis_(y, AxisLenY, axesRadius, Tex_Dark, Tex_Light)   }// y-Axis&lt;br /&gt;
         text   { ttf &amp;quot;arial.ttf&amp;quot;,  &amp;quot;y&amp;quot;,  0.15,  0  texture{Tex_Dark}    &lt;br /&gt;
                   scale 0.5 translate &amp;lt;-0.75,AxisLenY+0.50,-0.10&amp;gt;}&lt;br /&gt;
        #end &lt;br /&gt;
        #if (AxisLenZ != 0)&lt;br /&gt;
         object { Axis_(z, AxisLenZ,  axesRadius, Tex_Dark, Tex_Light)   }// z-Axis&lt;br /&gt;
         text   { ttf &amp;quot;arial.ttf&amp;quot;,  &amp;quot;z&amp;quot;,  0.15,  0  texture{Tex_Dark}&lt;br /&gt;
                       scale 0.5 translate &amp;lt;-0.75,0.2,AxisLenZ+0.10&amp;gt;}&lt;br /&gt;
        #end &lt;br /&gt;
    } // end of union&lt;br /&gt;
&lt;br /&gt;
#end// of macro &amp;quot;AxisXYZ( ... )&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#declare txtrAxisLite  = texture { pigment{ color rgb&amp;lt;1,1,1&amp;gt;*.3}  finish { phong 1} }&lt;br /&gt;
#declare txtrAxisDark = texture { pigment{ color rgb&amp;lt;1,1,1&amp;gt;*.8}     finish { phong 1} }&lt;br /&gt;
                              &lt;br /&gt;
&lt;br /&gt;
#macro RenderClockedTorusKnot(p, q, majRad, minRad, plotRadius, PointCount, completion, txtr)&lt;br /&gt;
  #local LastPos = &amp;lt;0, 0, 0&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
  #for (pointNdx, 0, PointCount * completion)&lt;br /&gt;
    #local Theta = 2 * pi * pointNdx / PointCount;&lt;br /&gt;
&lt;br /&gt;
    // Torus knot path calculations&lt;br /&gt;
    //#local X = (majRad + minRad * cos(q * Theta)) * cos(p * Theta);&lt;br /&gt;
    //#local Y = (majRad + minRad * cos(q * Theta)) * sin(p * Theta);&lt;br /&gt;
    //#local Z = minRad * sin(q * Theta);&lt;br /&gt;
    &lt;br /&gt;
    #local Y = (majRad + minRad * cos(q * Theta)) * cos(p * Theta);&lt;br /&gt;
    #local X = (majRad + minRad * cos(q * Theta)) * sin(p * Theta);&lt;br /&gt;
    #local Z = minRad * sin(q * Theta);&lt;br /&gt;
    #local Pos = &amp;lt;X,Y,Z&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
    #if (pointNdx &amp;gt; 0)&lt;br /&gt;
      union {&lt;br /&gt;
        cylinder {&lt;br /&gt;
          LastPos, Pos, plotRadius open&lt;br /&gt;
          texture {txtr}&lt;br /&gt;
        }&lt;br /&gt;
        sphere { LastPos, plotRadius texture {txtr} }&lt;br /&gt;
        &lt;br /&gt;
      } // end union&lt;br /&gt;
    #end&lt;br /&gt;
    #local LastPos = Pos;&lt;br /&gt;
  #end&lt;br /&gt;
#end&lt;br /&gt;
&lt;br /&gt;
#macro renderClockedUnitQ(p, q, majRad, minRad, plotRadius, PointCount, txtr)&lt;br /&gt;
  #local LastPos = &amp;lt;0, 0, 0&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
  #for (pointNdx, 0,  (PointCount) *  clock/q )&lt;br /&gt;
    #local Theta = 2 * pi * pointNdx / PointCount;&lt;br /&gt;
&lt;br /&gt;
    // Torus knot path calculations&lt;br /&gt;
    //#local X = (majRad + minRad * cos(q * Theta)) * cos(p * Theta);&lt;br /&gt;
    //#local Y = (majRad + minRad * cos(q * Theta)) * sin(p * Theta);&lt;br /&gt;
    //#local Z = minRad * sin(q * Theta);&lt;br /&gt;
&lt;br /&gt;
    #local Y = (majRad + minRad * cos(q * Theta)) * cos(p * Theta);&lt;br /&gt;
    #local X = (majRad + minRad * cos(q * Theta)) * sin(p * Theta);&lt;br /&gt;
    #local Z = minRad * sin(q * Theta);&lt;br /&gt;
    #local Pos = &amp;lt;X, Y, Z&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
    #if (pointNdx &amp;gt; 0)&lt;br /&gt;
      union {&lt;br /&gt;
        cylinder {&lt;br /&gt;
          LastPos, Pos, plotRadius open&lt;br /&gt;
          texture {txtr}&lt;br /&gt;
        }&lt;br /&gt;
        sphere { LastPos, plotRadius texture {txtr} }&lt;br /&gt;
        &lt;br /&gt;
      } // end union&lt;br /&gt;
    #end&lt;br /&gt;
    #local LastPos = Pos;&lt;br /&gt;
  #end&lt;br /&gt;
&lt;br /&gt;
#end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
//  Scene  //&lt;br /&gt;
&lt;br /&gt;
light_source{&amp;lt;15,25,25&amp;gt;*100 color White shadowless}&lt;br /&gt;
&lt;br /&gt;
sky_sphere{ pigment{ gradient &amp;lt;01,0,0&amp;gt;&lt;br /&gt;
                     color_map{ [0   color rgb&amp;lt;0.24,0.34,0.56&amp;gt;*1.2]        &lt;br /&gt;
                                [0.5 color rgb&amp;lt;0.24,0.34,0.56&amp;gt;*0.4] &lt;br /&gt;
                                [0.5 color rgb&amp;lt;0.24,0.34,0.56&amp;gt;*0.4] &lt;br /&gt;
                                [1.0 color rgb&amp;lt;0.24,0.34,0.56&amp;gt;*1.2]          &lt;br /&gt;
                              }&lt;br /&gt;
                      rotate&amp;lt; 0,0, 0&amp;gt;                     &lt;br /&gt;
                      scale 2 } &lt;br /&gt;
}                                 &lt;br /&gt;
&lt;br /&gt;
camera {&lt;br /&gt;
    orthographic&lt;br /&gt;
    angle 40&lt;br /&gt;
    location  &amp;lt;1,1,.75&amp;gt;*8&lt;br /&gt;
    location  x*14&lt;br /&gt;
    look_at   y*0&lt;br /&gt;
    up z&lt;br /&gt;
    right     x*image_width/image_height&lt;br /&gt;
    &lt;br /&gt;
}&lt;br /&gt;
               &lt;br /&gt;
//  poloid:toroid = p:q knot ratio&lt;br /&gt;
#declare poloid     = 13;&lt;br /&gt;
#declare toroid     =  8;&lt;br /&gt;
&lt;br /&gt;
#declare phaseCount = 1;&lt;br /&gt;
                                  &lt;br /&gt;
//  Torus profile (golden torus)&lt;br /&gt;
#declare majRad     = pow(sqrt(5)*0.5+0.5,4);&lt;br /&gt;
#declare minRad     = majRad - 1;&lt;br /&gt;
&lt;br /&gt;
#declare plotRad    = 1/16;&lt;br /&gt;
#declare knotScale  = .4;&lt;br /&gt;
&lt;br /&gt;
#declare segmentCount = 800;&lt;br /&gt;
          &lt;br /&gt;
#declare txtrCu     = texture{pigment{Brown}};&lt;br /&gt;
&lt;br /&gt;
#declare txtrA      = texture{pigment{Red  }};&lt;br /&gt;
#declare txtrB      = texture{pigment{Green}};&lt;br /&gt;
#declare txtrC      = texture{pigment{Blue }};&lt;br /&gt;
&lt;br /&gt;
union{&lt;br /&gt;
&lt;br /&gt;
    //  Render a copper knot of 8 unitQ helicals  //&lt;br /&gt;
&lt;br /&gt;
    #for (k,0, toroid-1)&lt;br /&gt;
    &lt;br /&gt;
        #for (j,1,phaseCount) &lt;br /&gt;
        &lt;br /&gt;
            union{ &lt;br /&gt;
                renderClockedUnitQ( poloid, toroid, majRad, minRad, plotRad, segmentCount, texture{txtrCu} )&lt;br /&gt;
                &lt;br /&gt;
                rotate z*(k*360/toroid)&lt;br /&gt;
                &lt;br /&gt;
                rotate z*(j*360/phaseCount) &lt;br /&gt;
                scale knotScale &lt;br /&gt;
            } &lt;br /&gt;
        &lt;br /&gt;
        #end&lt;br /&gt;
        /*&lt;br /&gt;
        union{ &lt;br /&gt;
            renderClockedUnitQ( poloid, toroid, majRad, minRad, plotRad, segmentCount, 1/2, texture{txtrCu} )&lt;br /&gt;
            rotate z*(j*360/phaseCount) &lt;br /&gt;
             rotate x*0&lt;br /&gt;
             rotate z*180&lt;br /&gt;
             scale knotScale &lt;br /&gt;
        }                                                 &lt;br /&gt;
        */         &lt;br /&gt;
        AxisXYZ( 8.5, 8.5, 0, .03, txtrAxisLite, txtrAxisDark)&lt;br /&gt;
    #end&lt;br /&gt;
    rotate -x*90 //  Rotate the torus axis with the Z axis, rendered as vertical axis.    &lt;br /&gt;
  //  rotate z*360/24*clock&lt;br /&gt;
}   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{{headerTheAIandI}}&lt;/div&gt;</summary>
		<author><name>XenoEngineer</name></author>
	</entry>
</feed>