File:Wasserpendelanimation.gif
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
![File:Wasserpendelanimation.gif](https://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/Wasserpendelanimation.gif/419px-Wasserpendelanimation.gif?20160330195148)
Size of this preview: 419 × 599 pixels. Other resolutions: 168 × 240 pixels | 515 × 736 pixels.
Original file (515 × 736 pixels, file size: 757 KB, MIME type: image/gif, looped, 36 frames, 3.6 s)
File information
Structured data
Captions
Captions
Add a one-line explanation of what this file represents
Summary
[edit]DescriptionWasserpendelanimation.gif |
English: Oscillating liquid in U-pipe (animation)
Deutsch: Wasserpendel (schwingende Wassersäule in U-Rohr), Animation |
Date | |
Source | Own work |
Author | And1mu |
Source Code
[edit]created with LaTeX and PGF/TikZ |
---|
![]() Script to generate the animation: #!/bin/bash
set -eu
DIR="animate"
FILE="Wasserpendel"
NUM=0
rm -f ${DIR}/frame???.png
for ANG in $(seq 0 10 359) ; do
echo "Creating frame $NUM ..."
POS=$(echo "2.3*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 150 ${FILE}.svg -shave 3 ${DIR}/frame${NUMSTR}.png
NUM=$(($NUM+1))
done
cd $DIR
convert -delay 10 -loop 10000 frame*.png ${FILE}.gif
cd -
|
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
![w:en:Creative Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png)
![attribution](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![share alike](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International 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.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 19:51, 30 March 2016 | ![]() | 515 × 736 (757 KB) | And1mu (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on de.wikibooks.org