Fichier:V guide pattern animation.gif
Le contenu de la page n’est pas pris en charge dans d’autres langues.
V_guide_pattern_animation.gif (120 × 150 pixels, taille du fichier : 282 kio, type MIME : image/gif, en boucle, 100 trames, 2,0 s)
Ce fichier et sa description proviennent de Wikimedia Commons.
Description
DescriptionV guide pattern animation.gif | This animation shows how magnetic domains propagate through a pattern of V-shaped guide pieces in magnetic bubble memory. |
Date | |
Source | Self-made using the Persistence of Vision Raytracer |
Auteur | Søren Peo Pedersen |
Autorisation (Réutilisation de ce fichier) |
GFDL-self |
Conditions d’utilisation
Moi, en tant que détenteur des droits d’auteur sur cette œuvre, je la publie sous la licence suivante :
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.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
Ce fichier est disponible selon les termes de la licence Creative Commons Attribution – Partage dans les Mêmes Conditions 3.0 (non transposée). | ||
| ||
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.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
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
}
Éléments décrits dans ce fichier
dépeint
Historique du fichier
Cliquer sur une date et heure pour voir le fichier tel qu'il était à ce moment-là.
Date et heure | Vignette | Dimensions | Utilisateur | Commentaire | |
---|---|---|---|---|---|
actuel | 14 décembre 2007 à 00:22 | 120 × 150 (282 kio) | 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ø |
Utilisation du fichier
La page suivante utilise ce fichier :
Usage global du fichier
Les autres wikis suivants utilisent ce fichier :
- Utilisation sur da.wikipedia.org
- Utilisation sur it.wikipedia.org
Ce document provient de « https://fr.wikipedia.org/wiki/Fichier:V_guide_pattern_animation.gif ».