File:Blue 7 1 Knot Animated.gif

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Blue_7_1_Knot_Animated.gif (480 × 480 pixels, file size: 1.62 MB, MIME type: image/gif, looped, 36 frames, 3.6 s)

Captions

Captions

Add a one-line explanation of what this file represents
 
This image was created with POV-Ray.

Summary

[edit]
Description
English: A 7₁ knot.
Date Animation: 2018-12-28
Source Own work
Author Jim.belk
Animation: MichaelFrey (talk)

Licensing

[edit]
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

[edit]
#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.05;
#declare num_steps = 70;
#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.3*( (7/3)*sin(2*theta)*(1+(2/7)*cos(7*theta)) ), 0.3*( (7/3)*cos(2*theta)*(1+(2/7)*cos(7*theta)) ), 0.2*sin(7*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.3
    phong_size 10
    }
  rotate <0,360*clock,0>
  }

plane
  {
  <0,0,-1>, -2.25
  pigment { color White }
  finish
    {
    ambient 0.35
    diffuse 0.65
    }
  }

Assembly.inc

[edit]
;http://www.f-lohmueller.de/pov_tut/animate/anim001d.htm
Antialias=Off
Antialias_Threshold=0.1
Antialias_Depth=2

Input_File_Name="knot.pov"

Initial_Frame=1
Final_Frame=36
Initial_Clock=0
Final_Clock=1

Cyclic_Animation=on
Pause_when_Done=off

build.sh

[edit]
povray Assembly.inc +H480 +W480 +UA

convert -dispose previous -delay 10 -loop 0 *.png myimage.gif
firefox myimage.gif

File history

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

Date/TimeThumbnailDimensionsUserComment
current19:11, 28 December 2018Thumbnail for version as of 19:11, 28 December 2018480 × 480 (1.62 MB)MichaelFrey (talk | contribs){{Created with Persistence of Vision}} == {{int:filedesc}} == {{Information |Description={{en|1=A 7₁ knot.}} |Source={{own}} |Author=Jim.belk |Date= |Permission= |other_versions= }} == {{int:license-header}} == {{PD-self}} == Source == <pre> #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 Whi...

There are no pages that use this file.

Metadata