Image:Twisted cubic curve.png

From Wikipedia, the free encyclopedia

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.


[edit] Dettagli

Description

Twisted cubic with xy and xz surfaces in the interval [-1,1]

Source

self-made

Date

2007-09-11

Author

Claudio Rocchini

Permission
(Reusing this image)

see below


[edit] Source code (POVRAY)


#include "colors.inc"
#include "metals.inc"

global_settings {max_trace_level 5}

camera {
    perspective
    location <-2100,2400,2205>
    look_at  <0,0,0>
    right x
    up    y
  }

sky_sphere {
    pigment {
        color rgb<1,1,1>
    }
} 

light_source {<-3000,2800,2300>   color White }
light_source {< 2000,-10000,2300> color Gray45 }

#declare R1 = 5;

sphere_sweep {   
  linear_spline
  2,
  <-1000,-1000,-1000>,R1
  < 1000,-1000,-1000>,R1 
  pigment {rgb 0}
  no_shadow
}
sphere_sweep {   
  linear_spline
  2,
  <-1000, 1000,-1000>,R1
  < 1000, 1000,-1000>,R1 
  pigment {rgb 0}
  no_shadow
}
sphere_sweep {   
  linear_spline
  2,
  <-1000, 1000, 1000>,R1
  < 1000, 1000, 1000>,R1 
  pigment {rgb 0}
  no_shadow
}
sphere_sweep {   
  linear_spline
  2,
  <-1000,-1000, 1000>,R1
  < 1000,-1000, 1000>,R1 
  pigment {rgb 0}
  no_shadow
} 
sphere_sweep {   
  linear_spline
  2,
  <-1000,-1000,-1000>,R1
  <-1000, 1000,-1000>,R1 
  pigment {rgb 0}
  no_shadow
}
sphere_sweep {   
  linear_spline
  2,
  < 1000,-1000,-1000>,R1
  < 1000, 1000,-1000>,R1 
  pigment {rgb 0}
  no_shadow
}
sphere_sweep {   
  linear_spline
  2,
  < 1000,-1000, 1000>,R1
  < 1000, 1000, 1000>,R1 
  pigment {rgb 0}
  no_shadow
}
sphere_sweep {   
  linear_spline
  2,
  <-1000,-1000, 1000>,R1
  <-1000, 1000, 1000>,R1 
  pigment {rgb 0}
  no_shadow
}
sphere_sweep {   
  linear_spline
  2,
  <-1000,-1000,-1000>,R1
  <-1000,-1000, 1000>,R1 
  pigment {rgb 0}
  no_shadow
}
sphere_sweep {   
  linear_spline
  2,
  < 1000,-1000,-1000>,R1
  < 1000,-1000, 1000>,R1 
  pigment {rgb 0}
  no_shadow
}
sphere_sweep {   
  linear_spline
  2,
  < 1000, 1000,-1000>,R1
  < 1000, 1000, 1000>,R1 
  pigment {rgb 0}
  no_shadow
}
sphere_sweep {   
  linear_spline
  2,
  <-1000, 1000,-1000>,R1
  <-1000, 1000, 1000>,R1 
  pigment {rgb 0}
  no_shadow
}

parametric {
            function{v*1000}              
            function{u*1000}
            function{u*u*1000}
            <-1,-1>,<1,1>
            contained_by{box{<-1000,-1000,-1000>,<1000,1000,1000>}}
            accuracy 0.00001
            precompute 20,x,y,z
            texture {  pigment { color rgbt<0.10, 0.25, 0.85, 0.76> }  }
            no_shadow
         }
         
parametric {
            function{u*u*u*1000}              
            function{u*1000}
            function{v*1000}
            <-1,-1>,<1,1>
            contained_by{box{<-1000,-1000,-1000>,<1000,1000,1000>}}
            accuracy 0.00001
            precompute 20,x,y,z
            texture {  pigment { color rgbt<0.85, 0.25, 0.10, 0.76> }  }
            no_shadow            
         }
 
sphere_sweep{
linear_spline
32,
<-1000,-1000,-1000>,5,
<-818.67,-935.484,-1000>,5,
<-660.703,-870.968,-1000>,5,
<-524.487,-806.452,-1000>,5,
<-408.412,-741.935,-1000>,5,
<-310.866,-677.419,-1000>,5,
<-230.237,-612.903,-1000>,5,
<-164.916,-548.387,-1000>,5,
<-113.289,-483.871,-1000>,5,
<-73.7471,-419.355,-1000>,5,
<-44.6779,-354.839,-1000>,5,
<-24.4705,-290.323,-1000>,5,
<-11.5135,-225.806,-1000>,5,
<-4.1959,-161.29,-1000>,5,
<-0.906314,-96.7742,-1000>,5,
<-0.0335672,-32.2581,-1000>,5,
<0.0335672,32.2581,-1000>,5,
<0.906314,96.7742,-1000>,5,
<4.1959,161.29,-1000>,5,
<11.5135,225.806,-1000>,5,
<24.4705,290.323,-1000>,5,
<44.6779,354.839,-1000>,5,
<73.7471,419.355,-1000>,5,
<113.289,483.871,-1000>,5,
<164.916,548.387,-1000>,5,
<230.237,612.903,-1000>,5,
<310.866,677.419,-1000>,5,
<408.412,741.935,-1000>,5,
<524.487,806.452,-1000>,5,
<660.703,870.968,-1000>,5,
<818.67,935.484,-1000>,5,
<1000,1000,-1000>,5 
pigment {rgb <0.4,0.4,0.4>}
no_shadow
}
sphere_sweep{
linear_spline
32,
<-1000,-1000,1000>,5,
<-818.67,-935.484,1000>,5,
<-660.703,-870.968,1000>,5,
<-524.487,-806.452,1000>,5,
<-408.412,-741.935,1000>,5,
<-310.866,-677.419,1000>,5,
<-230.237,-612.903,1000>,5,
<-164.916,-548.387,1000>,5,
<-113.289,-483.871,1000>,5,
<-73.7471,-419.355,1000>,5,
<-44.6779,-354.839,1000>,5,
<-24.4705,-290.323,1000>,5,
<-11.5135,-225.806,1000>,5,
<-4.1959,-161.29,1000>,5,
<-0.906314,-96.7742,1000>,5,
<-0.0335672,-32.2581,1000>,5,
<0.0335672,32.2581,1000>,5,
<0.906314,96.7742,1000>,5,
<4.1959,161.29,1000>,5,
<11.5135,225.806,1000>,5,
<24.4705,290.323,1000>,5,
<44.6779,354.839,1000>,5,
<73.7471,419.355,1000>,5,
<113.289,483.871,1000>,5,
<164.916,548.387,1000>,5,
<230.237,612.903,1000>,5,
<310.866,677.419,1000>,5,
<408.412,741.935,1000>,5,
<524.487,806.452,1000>,5,
<660.703,870.968,1000>,5,
<818.67,935.484,1000>,5,
<1000,1000,1000>,5 
pigment {rgb <0.4,0.4,0.4>}
no_shadow
}
sphere_sweep{
linear_spline
32,
<-1000,-1000,1000>,5,
<-1000,-935.484,875.13>,5,
<-1000,-870.968,758.585>,5,
<-1000,-806.452,650.364>,5,
<-1000,-741.935,550.468>,5,
<-1000,-677.419,458.897>,5,
<-1000,-612.903,375.65>,5,
<-1000,-548.387,300.728>,5,
<-1000,-483.871,234.131>,5,
<-1000,-419.355,175.858>,5,
<-1000,-354.839,125.911>,5,
<-1000,-290.323,84.2872>,5,
<-1000,-225.806,50.9886>,5,
<-1000,-161.29,26.0146>,5,
<-1000,-96.7742,9.36524>,5,
<-1000,-32.2581,1.04058>,5,
<-1000,32.2581,1.04058>,5,
<-1000,96.7742,9.36524>,5,
<-1000,161.29,26.0146>,5,
<-1000,225.806,50.9886>,5,
<-1000,290.323,84.2872>,5,
<-1000,354.839,125.911>,5,
<-1000,419.355,175.858>,5,
<-1000,483.871,234.131>,5,
<-1000,548.387,300.728>,5,
<-1000,612.903,375.65>,5,
<-1000,677.419,458.897>,5,
<-1000,741.935,550.468>,5,
<-1000,806.452,650.364>,5,
<-1000,870.968,758.585>,5,
<-1000,935.484,875.13>,5,
<-1000,1000,1000>,5 
pigment {rgb <0.4,0.4,0.4>}
no_shadow
}
sphere_sweep{
linear_spline
32,
<1000,-1000,1000>,5,
<1000,-935.484,875.13>,5,
<1000,-870.968,758.585>,5,
<1000,-806.452,650.364>,5,
<1000,-741.935,550.468>,5,
<1000,-677.419,458.897>,5,
<1000,-612.903,375.65>,5,
<1000,-548.387,300.728>,5,
<1000,-483.871,234.131>,5,
<1000,-419.355,175.858>,5,
<1000,-354.839,125.911>,5,
<1000,-290.323,84.2872>,5,
<1000,-225.806,50.9886>,5,
<1000,-161.29,26.0146>,5,
<1000,-96.7742,9.36524>,5,
<1000,-32.2581,1.04058>,5,
<1000,32.2581,1.04058>,5,
<1000,96.7742,9.36524>,5,
<1000,161.29,26.0146>,5,
<1000,225.806,50.9886>,5,
<1000,290.323,84.2872>,5,
<1000,354.839,125.911>,5,
<1000,419.355,175.858>,5,
<1000,483.871,234.131>,5,
<1000,548.387,300.728>,5,
<1000,612.903,375.65>,5,
<1000,677.419,458.897>,5,
<1000,741.935,550.468>,5,
<1000,806.452,650.364>,5,
<1000,870.968,758.585>,5,
<1000,935.484,875.13>,5,
<1000,1000,1000>,5 
pigment {rgb <0.4,0.4,0.4>}
no_shadow
}
sphere_sweep{
linear_spline
32,
<-1000,-1000,1000>,20,
<-818.67,-935.484,875.13>,20,
<-660.703,-870.968,758.585>,20,
<-524.487,-806.452,650.364>,20,
<-408.412,-741.935,550.468>,20,
<-310.866,-677.419,458.897>,20,
<-230.237,-612.903,375.65>,20,
<-164.916,-548.387,300.728>,20,
<-113.289,-483.871,234.131>,20,
<-73.7471,-419.355,175.858>,20,
<-44.6779,-354.839,125.911>,20,
<-24.4705,-290.323,84.2872>,20,
<-11.5135,-225.806,50.9886>,20,
<-4.1959,-161.29,26.0146>,20,
<-0.906314,-96.7742,9.36524>,20,
<-0.0335672,-32.2581,1.04058>,20,
<0.0335672,32.2581,1.04058>,20,
<0.906314,96.7742,9.36524>,20,
<4.1959,161.29,26.0146>,20,
<11.5135,225.806,50.9886>,20,
<24.4705,290.323,84.2872>,20,
<44.6779,354.839,125.911>,20,
<73.7471,419.355,175.858>,20,
<113.289,483.871,234.131>,20,
<164.916,548.387,300.728>,20,
<230.237,612.903,375.65>,20,
<310.866,677.419,458.897>,20,
<408.412,741.935,550.468>,20,
<524.487,806.452,650.364>,20,
<660.703,870.968,758.585>,20,
<818.67,935.484,875.13>,20,
<1000,1000,1000>,20 
pigment {rgb <0.2,1,0.2>}
no_shadow
}

[edit] Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation license, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation license".

Aragonés | العربية | Asturianu | Български | বাংলা | ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী | Brezhoneg | Bosanski | Català | Cebuano | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Gaeilge | Galego | עברית | Hrvatski | Magyar | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Kurdî / كوردی | Latina | Lëtzebuergesch | Lietuvių | Bahasa Melayu | Nnapulitano | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Occitan | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | తెలుగు | ไทย | Türkçe | Українська | اردو | Tiếng Việt | Volapük | Yorùbá | ‪中文(中国大陆)‬ | ‪中文(台灣)‬ | +/-

Creative Commons License
Creative Commons Attribution icon
This file is licensed under the Creative Commons Attribution 3.0 Unported License. In short: you are free to distribute and modify the file as long as you attribute its author(s) or licensor(s). Official license

Català | Česky | Deutsch | English | Ελληνικά | Español | Français | 한국어 | Italiano | עברית | Lietuvių | Magyar | Nederlands | Polski | Português | Русский | Türkçe | ‪中文(繁體)‬ | +/-

You may select the license of your choice.

File history

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

Date/TimeDimensionsUserComment
current14:13, 10 September 2007541×536 (199 KB)Rocchini ({{Information |Description=Twisted cubic with xy and xz surfaces in the interval [-1,1] |Source=self-made |Date=2007-09-11 |Author= Claudio Rocchini }} )
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):