From Wikipedia, the free encyclopedia
Original file (986 × 652 pixels, file size: 880 KB, MIME type: image/gif , looped, 36 frames, 3.6 s)
Summary
Source Code
Source code for a single frame is available at the corresponding page.
Script to generate the animation:
#!/bin/bash
set -eu
DIR = "animate"
FILE = "Federpendel"
NUM = 0
rm -f ${ DIR } /frame???.png
for ANG in $( seq 0 10 359 ) ; do
echo "Creating frame $NUM ..."
POS = $( echo "-3+0.8*c( $ANG /45*a(1))" | bc -l)
echo $POS $ANG
sed -i "s/\\\def\\\myx{.\+}/\\\def\\\myx{ $POS }/" ${ FILE } .tex
pdflatex -shell-escape ${ FILE } .tex 1 > /dev/null
echo "Convert to png ..."
NUMSTR = $( printf "%03d" $NUM )
convert -density 256 ${ FILE } .svg -shave 3 ${ DIR } /frame${ NUMSTR } .png
NUM = $(( $NUM + 1 ))
done
cd $DIR
convert -delay 10 -loop 10000 frame*.png Federpendel.gif
cd -
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
You are free:
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original. https://creativecommons.org/licenses/by-sa/4.0 CC BY-SA 4.0 Creative Commons Attribution-Share Alike 4.0 true true English Add a one-line explanation of what this file represents
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time Thumbnail Dimensions User Comment
current 08:13, 30 March 2016 986 × 652 (880 KB) And1mu User created page with UploadWizard
File usage
No pages on the English Wikipedia use this file (pages on other projects are not listed).
Global file usage
The following other wikis use this file:
Usage on ca.wikipedia.org
Usage on cv.wikipedia.org
Usage on de.wikipedia.org
Usage on de.wikibooks.org
Usage on el.wikipedia.org
Usage on es.wikipedia.org
Usage on nds.wikipedia.org
Usage on uk.wikipedia.org