File:Lissajous Square Knot.png

From testwiki
Jump to navigation Jump to search
    Original file (1,650 × 1,740 pixels, file size: 866 KB, MIME type: image/png)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

     This image was created with POV-Ray.

    Summary

    Description
    English: A Lissajous square knot.
    Date
    Source Own work
    Author Jim.belk

    Licensing

    Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
    In some countries this may not be legally possible; if so:
    I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

    Source

    This image was created using POV-Ray for Windows, version 3.6. The image was rendered to an 1800 x 1800 square, using 0.3 anti-aliasing, and then cropped and compressed using pngcrush.

    #include "colors.inc"
         
    background { color White }
    
    global_settings { assumed_gamma 1.0}
    
    camera
      {
      location <0, 0, -25>
      right <1,0,0> up <0,1,0>
      look_at  <0, 0, 0>
      angle 5
      }
    
    light_source
      {
      <0, 20, -50>
      color White
      area_light <5, 0, 0>, <0, 5, 0>, 10, 10  /* very slow, decrease 10 to 2 for experiments */
      adaptive 3
      }
      
    #declare r_tube = 0.04;
    #declare num_steps = 36;
    #declare step_size = 1/num_steps;
    
    sphere_sweep
      {
      cubic_spline num_steps+3,
      #declare N = -1;
      #while(N <= num_steps + 1)
        #declare theta = 2 * pi * N * step_size;
        < 0.8*cos(3*theta + 0.7), 0.8*cos(5*theta + 1) + 0.075, 0.3*cos(7*theta)+0.06>, r_tube
        #declare N = N + 1;                             
      #end
      pigment { color rgb <0,0.25,1> }
      finish          
        {
        ambient 0.15
        diffuse 0.85
        brilliance 2
        phong 0.25
        phong_size 5
        }
      }
    
    plane
      {
      <0,0,-1>, -0.4
      pigment { color White }
      finish
        {
        ambient 0.35
        diffuse 0.65
        }
      }
    

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    26 March 2010

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current18:39, 27 March 2010Thumbnail for version as of 18:39, 27 March 20101,650 × 1,740 (866 KB)wikimediacommons>Jim.belk{{Information |Description={{en|1=A Lissajous square knot.}} |Source={{own}} |Author=Jim.belk |Date=2010-03-26 |Permission= |other_versions= }} Category:Knots (knot theory) Category:Lissajous curves [[Category:Images including s

    There are no pages that use this file.