Jump to content

File:Tricoloring.png

This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (1,800 × 1,800 pixels, file size: 404 KB, MIME type: image/png)

 
This image was created with POV-Ray.

Summary

Description
English: A tricolored trefoil 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.

Original upload log

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.

#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
  adaptive 3
  }  
  
#declare r_tube = 0.1;
#declare num_steps = 72;
#declare step_size = 1/num_steps;
              
sphere_sweep
  {
  cubic_spline 27,
  #declare N = 8;
  #while(N <= 34)
    #declare theta = 2 * pi * N * step_size;
    <0.3*( 2*sin(2*theta)-sin(theta) ), 0.3*( 2*cos(2*theta)+cos(theta) ), 0.3*sin(3*theta)>, r_tube
    /* uses a hypotrochoid */
    #declare N = N + 1;
  #end
  pigment { color rgb <0,0.75,0> }
  finish          
    {
    ambient 0.15
    diffuse 0.85
    brilliance 2
    phong 0.25
    phong_size 5
    }
  }

sphere_sweep
  {
  cubic_spline 27,
  #declare N = 32;
  #while(N <= 58)
    #declare theta = 2 * pi * N * step_size;
    <0.3*( 2*sin(2*theta)-sin(theta) ), 0.3*( 2*cos(2*theta)+cos(theta) ), 0.3*sin(3*theta)>, r_tube
    /* uses a hypotrochoid */
    #declare N = N + 1;
  #end
  pigment { color rgb <1,0,0> }
  finish          
    {
    ambient 0.15
    diffuse 0.85
    brilliance 2
    phong 0.25
    phong_size 5
    }
  }

sphere_sweep
  {
  cubic_spline 27,
  #declare N = 56;
  #while(N <= 82)
    #declare theta = 2 * pi * N * step_size;
    <0.3*( 2*sin(2*theta)-sin(theta) ), 0.3*( 2*cos(2*theta)+cos(theta) ), 0.3*sin(3*theta)>, r_tube
    /* uses a hypotrochoid */
    #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 September 2009

File history

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

Date/TimeThumbnailDimensionsUserComment
current09:54, 7 July 2015Thumbnail for version as of 09:54, 7 July 20151,800 × 1,800 (404 KB)CmdrjamesonCompressed with pngout. Reduced by 534kB (56% decrease).
20:59, 21 March 2010Thumbnail for version as of 20:59, 21 March 20101,800 × 1,800 (939 KB)Jim.belkImproved lighting and texture, increased resolution.
21:04, 26 September 2009Thumbnail for version as of 21:04, 26 September 2009600 × 600 (163 KB)Jim.belk{{Information |Description={{en|1=A tricolored trefoil knot.}} |Source=Own work by uploader |Author=Jim.belk |Date=2009-09-26 |Permission= |other_versions= }}

Global file usage