How to create GIF's by POV-Ray?

I created a tiny crash course in which I show "How to make GIF's by POV-Ray" (pptx, ~1.8MB). You should see that as an introduction to that topic. There are several very good tutorials on the web, so you can learn by that. I prefer the tutorial of F. Lohmueller (Useful Links). If you got any questions, please do not hold back and contact me. Thank you!

UPDATE (2011/12/15): new version of "How to make GIF's by POV-Ray" (pptx, ~16MB)


A big problem in teaching physics is the high dependency of (frequently occurring) physical models. Here, model means a construct of thinking, a theory, witch makes it possible to understand how things in the world work. Such a model concentrates on essential facts.
Very often, you cannot understand working physical systems without using suitable models for explaining various phenomena (e.g. physics of atoms and quanta, physic of optics). In order to detect and get rid of these (possibly) appearing problems and misunderstandings, good teaching materials, that give pupil a proper concept of physics, are needed. Drawings and figures are an appropriate way to underline some aspects of physical concepts too; but in fact, in some cases, like 3-dimensional problems or explanations concerning chronological sequences, a nice animation can explain things better and more intuitively.... (more)

Click here for detailed information. (PDF-file)


Please click the pictures to see the animation (GIF). Click the symbol under "Description" to see explanations and further information. You can save everything by right-clicking on the picture and choosing "Save Target As". (Tutorial: POV-Ray code ---> animation)

GIFPOV-Ray codeDescription
exampleexample (from "How to make GIF's by POV-Ray")not available
fractalspinning (1st-iterate-stepped) fractal with moving ball (just another example)not available
HexPenpentagons are needednot available
sctt_1dimelastic collision (1-dimensional)not available
sctt_2dimelastic collision (2-dimensional)not available
sctt_2dim_2Introduction to Rutherford Backscattering Spectrometry ("2-dimensional elastic collision" with changed parameters)not available
magic_ball_shortmagic ball: "guess the velocity"not available
magic_ballmagic ball: "solution"not available
3ball"magic" golfballnot available
rot_shotangular momentumtennis
no_changebottom velocity don't change muchtennis
real_tennisideal point of a tennis hittennis
t_stopbottom velocity is 0 after hittennis
spring normal modes of "wall-spring-mass-...-spring-wall"-systems

Select number of atoms from the dropdown-box on the left.


Useful include files

Here you can find useful include files, that I've created. Some of them are needed for my POV-Ray-files. (!) Please see the file itself for further information.

INC-fileDescriptionused in
HexPen.incContains the macros for Pentagon and Hexagon; as well as for the connection of those figures.pentagons are needed
Clock_Spitting.incThis file may help, if you want to create a POV-Ray-animation, which is splitted in to many parts (all parts take the same amount of time).
For example: The clock value should run from 0 to 1 in the 3rd part of a total amount of 7 parts. Then "Sclock_01(3,7)" will exactly do that for you.
from "pentagons are needed" on used in every animation