Fichier:Euclidian and non euclidian geometry.png

De testwiki
Aller à la navigation Aller à la recherche
    Fichier d’origine (4 000 × 1 500 pixels, taille du fichier : 128 kio, type MIME : image/png)

    Ce fichier provient de Wikimedia Commons et peut être utilisé par d'autres projets. Sa description sur sa page de description est affichée ci-dessous.

    Shows three "blocks" with varying surfaces, whereon a point and som lines are "drawn" to demonstrate

    1. euclidian
    2. elliptical and
    3. hyperbolic geometry

    To be exact, the hyperbolic surface was approximated using a chunk of the "inside" of a torus - this may not be perfectly accurate, but apparently it "looks right" in this illustration. :-)

    Rendered using POV-Ray (see http://www.povray.org) and the scene description "code" below, then cropped and "numbered" using a graphics software package.

    Povray source code
      /*
      ====================================================================
      Surfaces demonstrating euclidian, elliptical and hyperbolic geometry
      --------------------------------------------------------------------
      Created by Søren Peo Pedersen - see my user page at
      http://da.wikipedia.org/wiki/Bruger:Peo
      ====================================================================
      */
      
      // Macro for texture with background pattern, lines, and point "marker"
      #macro SurfaceDrawing (
        Point,        // Position vector: Location of white point
        RefLineMove,  // Transformation: Where to place the yellow reference line
        Lines         // Object that renders the blue line(s)
        )
      
          #local BasePattern=pigment {  // The underlying, dark grey checkerboard pattern
              checker
              color rgb 0.4
              color rgb 0.6
              scale <1,1000,1>
              }
      
          #local SP1 = pigment {    // Checkerboard pattern with yellow "reference line" added
              object {box {<-.07,-10,-10>,<.07,10,10> transform{RefLineMove}}
                  pigment {BasePattern}
                  pigment {color rgb <1,.8,.3>}
                  }
              }    
      
          #local SP2 = pigment {    // Checkerborad + yellow line with user-defined (blue) lines added
              object {Lines
                  pigment {SP1}
                  pigment {color rgb <.6,.8,1>}
                  }
              }    
      
          #local SP3 = pigment {    // Checkerboard + lines with whit point "marker" added
              object {
                  sphere { Point, .2 }
                  pigment {SP2}
                  pigment {color rgb 1}
                  }
              }
      
          pigment {   // Definition of pigment, confined to a box slightly smaller than the "blocks"
              boxed   // to make the lines and point only appear on the top of the blocks
              pigment_map {
                  [0.0000 BasePattern scale .5 translate <0,-1,0>]
                  [0.0001 BasePattern scale .5 translate <0,-1,0>]
                  [0.0001 SP3 scale .5 translate <0,-1,0>]
                  [1.0000 SP3 scale .5 translate <0,-1,0>]
                  }
              scale <2,2,2> translate <0,2,0>
              }          
          finish {ambient .7 diffuse .3}
      #end  // End of macro
      
      plane {<0,1,0>,0      // White "tabletop" to receive shadows of the blocks (helps visualisation)
          pigment {color rgb 1}
          finish {ambient .8 diffuse .5}
          }
      
      box {<-2,0,-2>,<2,2,2>  // Demonstrating euclidean geometry
          texture {
              SurfaceDrawing(<-.3,2,0>,
                  transform {rotate <0,35,0> translate <.3,0,0>},
                  box {<-.07,-10,-10>,<.07,10,10> rotate <0,35,0> translate <-.3,0,0>}
                  )
              }
          rotate <0,-20,0>
          translate <-6,0,0>
          }
      
      intersection {          // Demonstrating elliptical, or "Riemann", geometry
          box {<-2,0,-2>,<2,5,2>}
          sphere {<0,0,0>,2.8285}
          texture {
              SurfaceDrawing(<.65,2.45,1.25>,
                  transform {rotate <0,5,0>  rotate <-45,35,0>},
                  box {<-.07,-10,-10>,<.07,10,10> rotate <0,-4,0> rotate <-45,35,0>}
                  )
              }
          rotate <0,-20,0>
          translate <0,0,0>
          }
      
      intersection {          // Demonstrating hyperbolic geometry
          box {<-2,0,-2>,<2,4,2>}
          torus {7.03,5 rotate <90,90,0> translate <0,4,0>}
          texture {
              SurfaceDrawing(<0,2.3,1>,
                  transform {rotate <0,90,0> rotate <-40,0,0> translate <0,4,0>},
                  merge {
                      box {<-.07,-10,-10>,<.07,10,10>
                          rotate <0,85,0> rotate <-30,0,0> translate <0,4,0>
                          }
                      box {<-.07,-10,-10>,<.07,10,10>
                          rotate <0,95,0> rotate <-30,0,0> translate <0,4,0>
                          }
                      }
                  )
              }
          rotate <0,-20,0>
          translate <6,0,0>
          }
      
      camera {  // Viewpoint
          location <0,2100,-800>
          look_at <.5,0,0>
          angle .47
          }
      
      light_source {<-50,200,-100> color rgb 1.5} // Illumination
    
    Moi, en tant que détenteur des droits d’auteur sur cette œuvre, je la publie sous les licences suivantes :
    GNU head Vous avez la permission de copier, distribuer et modifier ce document selon les termes de la GNU Free Documentation License version 1.2 ou toute version ultérieure publiée par la Free Software Foundation, sans sections inaltérables, sans texte de première page de couverture et sans texte de dernière page de couverture. Un exemplaire de la licence est inclus dans la section intitulée GNU Free Documentation License.
    w:fr:Creative Commons
    paternité partage à l’identique
    Ce fichier est disponible selon les termes de la licence Creative Commons Attribution – Partage dans les Mêmes Conditions 3.0 Non Transposé.
    Vous êtes libre :
    • de partager – de copier, distribuer et transmettre cette œuvre
    • d’adapter – de modifier cette œuvre
    Sous les conditions suivantes :
    • paternité – Vous devez donner les informations appropriées concernant l'auteur, fournir un lien vers la licence et indiquer si des modifications ont été faites. Vous pouvez faire cela par tout moyen raisonnable, mais en aucune façon suggérant que l’auteur vous soutient ou approuve l’utilisation que vous en faites.
    • partage à l’identique – Si vous modifiez, transformez ou vous basez sur cet élément, vous devez distribuer votre contribution sous une license identique ou compatible à celle de l’original.
    Ce bandeau de licence a été ajouté à ce fichier dans le cadre de la procédure de mise à jour des licences des images sous GFDL.
    Vous pouvez choisir l’une de ces licences.

    Légendes

    Ajoutez en une ligne la description de ce que représente ce fichier

    Éléments décrits dans ce fichier

    dépeint

    image/png

    130 584 octet

    1 500 pixel

    4 000 pixel

    401aae8a46660928a1daef55bfd6a8367caf224e

    Historique du fichier

    Cliquer sur une date et heure pour voir le fichier tel qu'il était à ce moment-là.

    Date et heureVignetteDimensionsUtilisateurCommentaire
    actuel5 juillet 2015 à 22:47Vignette pour la version du 5 juillet 2015 à 22:474 000 × 1 500 (128 kio)wikimediacommons>CmdrjamesonCompressed with pngout. Reduced by 66kB (34% decrease).

    Aucune page n’utilise ce fichier.