// COIL GENERATOR: SAMPLE ANIMATION
// ********************************
// Suggested frame count: 20 to 30 (cyclic)
//
// Shows 3 different types of coils generated by Coil.inc, with
// various options

// CAMERA AND LIGHTS
   camera {location <0, 0, -15> look_at <0, 0, 0>}
   light_source {<-10, -20, -50> rgb <.7, .7, .3>}
   light_source {<20, 40, -30> rgb <.2, .4, .7>}
   light_source {<0, 0, -100> rgb 1}

// UNIVERSAL COIL OPTIONS
   #declare coil_thickness = .5;
   #declare coil_smoothness = 16;

// COIL 1 (SPHERES)
   #declare coil_type = 1;
   #declare coil_radius = 2;
   #declare coil_radius2 = 0;
   #declare coil_thickness2 = 0;
   #declare coil_revolutions = 3;
   object {#include "Coil" pigment {rgb <1, .5, .5>}
      rotate y * 360 * clock
      translate <-6, -5, 0>}

// COIL 2 (SPHERE AND CYLINDERS)
   #declare coil_type = 2;
   #declare coil_radius = 0;
   #declare coil_radius2 = 2;
   #declare coil_thickness2 = 0;
   #declare coil_revolutions = -3;
   object {#include "Coil" pigment {rgb <1, 1, .5>}
      rotate y * 360 * clock
      translate <0, -5, 0>}

// COIL 3 (HALF-TORII SECTIONS)
   #declare coil_type = 3;
   #declare coil_radius = 2;
   #declare coil_radius2 = 2;
   #declare coil_thickness2 = .5;
   #declare coil_revolutions = 3;
   object {#include "Coil" pigment {rgb <.5, .7, 1>}
      rotate y * 360 * clock
      translate <6, -5, 0>}

    Source: geocities.com/siliconvalley/lakes/1434/download

               ( geocities.com/siliconvalley/lakes/1434)                   ( geocities.com/siliconvalley/lakes)                   ( geocities.com/siliconvalley)