File proveniente da Wikimedia Commons. Clicca per visitare la pagina originale

File:V guide pattern animation.gif

Da Wikipedia, l'enciclopedia libera.
Vai alla navigazione Vai alla ricerca

V_guide_pattern_animation.gif(120 × 150 pixel, dimensione del file: 282 KB, tipo MIME: image/gif, ciclico, 100 frame, 2,0 s)

Logo di Commons
Logo di Commons
Questo file e la sua pagina di descrizione (discussione · modifica) si trovano su Wikimedia Commons (?)

Dettagli

Descrizione This animation shows how magnetic domains propagate through a pattern of V-shaped guide pieces in magnetic bubble memory.
Data
Fonte Self-made using the Persistence of Vision Raytracer
Autore Søren Peo Pedersen
Licenza
(Riusare questo file)
GFDL-self

Licenza

Io, detentore del copyright su quest'opera, dichiaro di pubblicarla con la seguente licenza:
GNU head È permesso copiare, distribuire e/o modificare questo documento in base ai termini della GNU Free Documentation License, Versione 1.2 o successive pubblicata dalla Free Software Foundation; senza alcuna sezione non modificabile, senza testo di copertina e senza testo di quarta di copertina. Una copia della licenza è inclusa nella sezione intitolata Testo della GNU Free Documentation License.
w:it:Creative Commons
attribuzione condividi allo stesso modo
Questo file è disponibile in base alla licenza Creative Commons Attribuzione-Condividi allo stesso modo 3.0 Unported
Tu sei libero:
  • di condividere – di copiare, distribuire e trasmettere quest'opera
  • di modificare – di adattare l'opera
Alle seguenti condizioni:
  • attribuzione – Devi fornire i crediti appropriati, un collegamento alla licenza e indicare se sono state apportate modifiche. Puoi farlo in qualsiasi modo ragionevole, ma non in alcun modo che suggerisca che il licenziante approvi te o il tuo uso.
  • condividi allo stesso modo – Se remixi, trasformi o sviluppi il materiale, devi distribuire i tuoi contributi in base alla stessa licenza o compatibile all'originale.
Questo tag di copyright è stato aggiunto nell'ambito dell'aggiornamento della licenza dei progetti Wikimedia.

POV-Ray code

Below is the code for rendering the above animation using the Persistence of Vision Raytracer:

 /*
 ================================================
 Animation of V-shaped guide patterns in action
 ------------------------------------------------
 Created by Søren Peo Pedersen - see my user page
 at http://da.wikipedia.org/wiki/Bruger:Peo
 ================================================
 */

 #declare MagnetFont="arialbd.ttf" // Font for the nomenclature on magnets
 #declare NorthLtr="N";  // Letter to indicate north pole
 #declare SouthLtr="S";  // Letter to indicate south pole

 #declare TrkPhase=-1+clock;  // Compute phase count from clock system variable
 #declare BubblePosX=1.6*TrkPhase;  // Compute X and Z position of the
 #declare BubblePosZ=cos(2*pi*TrkPhase)*-.35; // moving bubbles
 
 box {<-4,-.3,-4>,<4,.3,4>  // The orthomagnetic sheet
   pigment {
     object {
       merge {
         // A "chain" of bubbles moving according to computed position:
         cylinder {<BubblePosX-1.6,-1,2.5+BubblePosZ>,<BubblePosX-1.6,1,2.5+BubblePosZ>,.3}
         cylinder {<BubblePosX,-1,2.5+BubblePosZ>,<BubblePosX,1,2.5+BubblePosZ>,.3}
         cylinder {<BubblePosX+1.6,-1,2.5+BubblePosZ>,<BubblePosX+1.6,1,2.5+BubblePosZ>,.3}
         cylinder {<BubblePosX+3.2,-1,2.5+BubblePosZ>,<BubblePosX+3.2,1,2.5+BubblePosZ>,.3}
         }
       pigment {color rgb <1,1,1>}  // Simple colors to indi-
       pigment {color rgb <1,0,0>}  // cate the magnetization
       }
     }
   finish {ambient .5}
   }

 #local Col=0;   // Loop to place a series of V-shaped guides on the sheet
 #while (Col<4)
   merge {
     sphere {<0,.3,0>,.03}                 // "V"-shapes are made with lots of
     cylinder {<0,.3,0>,<-1,.3,0>,.03}     // spheres and cylinders to provide
     sphere {<-1,.3,0>,.03}                // smoothly rounded corners and ed-
     cylinder {<-1,.3,0>,<-1,.3,.2>,.03}   // ges
     sphere {<-1,.3,.2>,.03}
     cylinder {<-1,.3,.2>,<-.2,.3,.2>,.03}
     sphere {<-.2,.3,.2>,.03}
     cylinder {<-.2,.3,.2>,<-.2,.3,1>,.03}
     sphere {<-.2,.3,1>,.03}
     cylinder {<-.2,.3,1>,<0,.3,1>,.03}
     sphere {<0,.3,1>,.03}
     cylinder {<0,.3,0>,<0,.3,1>,.03}
     box {<-1,.3,0>,<0,.33,.2>}
     box {<-.2,.3,.2>,<0,.33,1>}
     rotate <0,45,0>
     pigment {
       gradient z        // Apply a gradient of colors
       color_map {       // to indicate magnetization
         [0 color rgb <1,.25,.25>]
         [.48 color rgb .5]
         [.52 color rgb .5]
         [1 color rgb 1]    
         }
       translate -.5
       scale 1.55
       rotate <0,-360*TrkPhase+180,0>  // Gradient turns once per phase count
       translate <0,0,.5>
       }
     finish {ambient .5 phong 1}
     translate <1.6*Col-3.2,0,2>
     }
   #local Col=Col+1;
 #end

 merge {         // The black arrow that indicates the direction
   difference {  // of the collective field from the driving coils
     box {<0,-.001,-1>,<1,.001,0>
       rotate <0,45,0> scale <1,1,3> translate <0,0,.7>}
     plane {<0,0,1>,.1}
     }
   box {<-.05,-.001,-.7>,<.05,.001,.1>}
   pigment {color rgb 0}
   rotate <0,-360*TrkPhase,0> // Turns COUNTERCLOCKWISE once per phase count
   translate <0,0,5.2>
   }
 
 // Render the north pole nomenclature that follows the rotating arrow:
 #declare Nletter=text {ttf MagnetFont,NorthLtr,0,.001 scale .5 rotate <90,0,0>}
 #object {Nletter
   translate <
     (min_extent(Nletter).x-max_extent(Nletter).x)/2-sin(-TrkPhase*2*pi)*.95
     0,
     (min_extent(Nletter).z-max_extent(Nletter).z)/2-cos(-TrkPhase*2*pi)*.95+5.2>
     }
 
 // Render the south pole nomenclature that follows the rotating arrow:
 #declare Sletter=text {ttf MagnetFont,SouthLtr,0,.001 scale .5 rotate <90,0,0>}
 #object {Sletter
   translate <
     (min_extent(Sletter).x-max_extent(Sletter).x)/2+sin(-TrkPhase*2*pi)*.95
     0,
     (min_extent(Sletter).z-max_extent(Sletter).z)/2+cos(-TrkPhase*2*pi)*.95+5.2>
     }
 
 background {color rgb 1} // White background
 
 camera { // Look at the scenario   
   location <0,4,3.7> // from this vantage point,
   look_at <0,0,3.7>  // looking towards this point.
   up <0,4/3,0> right <1,0,0> // Force 4:3 "portrait" aspect.
   }
 
 light_source {     // Illumination
   <-100,150,-120>
   color rgb 1
   }

Didascalie

Aggiungi una brevissima spiegazione di ciò che questo file rappresenta

Elementi ritratti in questo file

raffigura

Cronologia del file

Fare clic su un gruppo data/ora per vedere il file come si presentava nel momento indicato.

Data/OraMiniaturaDimensioniUtenteCommento
attuale00:22, 14 dic 2007Miniatura della versione delle 00:22, 14 dic 2007120 × 150 (282 KB)Peo~commonswiki{{Information |Description=This animation shows how magnetic domains propagate through a pattern of V-shaped guide pieces in magnetic bubble memory. |Source=Self-made using the Persistence of Vision Raytracer |Date=Thursday december 13th, 2007 |Author=Sø

La seguente pagina usa questo file:

Utilizzo globale del file

Anche i seguenti wiki usano questo file: