Copyright © Fred Weinhaus My scripts are available free of charge for non-commercial (non-profit) use, ONLY. For use of my scripts in commercial (for-profit) environments or non-free applications, please contact me (Fred Weinhaus) for licensing arrangements. My email address is fmw at alink dot net. If you: 1) redistribute, 2) incorporate any of these scripts into other free applications or 3) reprogram them in another scripting language, then you must contact me for permission, especially if the result might be used in a commercial or for-profit environment. Usage, whether stated or not in the script, is restricted to the above licensing arrangements. It is also subject, in a subordinate manner, to the ImageMagick license, which can be found at: http://www.imagemagick.org/script/license.php Please read the Pointers For Use on my home page to properly install and customize my scripts. |
Creates a sinusoidal wiggling animation. |
last modified: December 16, 2018
USAGE: wiggle [-f frames] [-d delay] [-w wavelengths] [-D direction] [-a amount]
infile outfile
-f ... frames ........ number of frames to generate in the animation; integer>0; PURPOSE: Creates a sinusoidal wiggling animation. DESCRIPTION: WIGGLE creates a sinusoidal wiggling animation. The wiggling can be either horizontal or vertical. ARGUMENTS: -f frames ... FRAMES are the number of frames to generate in the animation. Value are integers>0. The default=25. -d delay ... DELAY is the animation delay between frames in ticks. Values are integers>0. The default=5. -w wavelengths ... WAVELENGTHS are the number of sinusoidal wavelengths to span the image dimension. Values are floats>0. The default=0.5. (Typically values are in half or integer amounts). -D direction ... DIRECTION of the scrolling wiggles; choices are: left (l), right (r), up (u), down (d). The default=right. -a amount ... AMOUNT of wiggle distortion. Values are integers>0. The default=10. CAVEAT: No guarantee that this script will work on all platforms, nor that trapping of inconsistent parameters is complete and foolproof. Use At Your Own Risk. |
Example 1 -- Variation in Wavelength |
Original: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Example 2 -- Variation in Direction |
Original: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Example 3 -- Variation in Amount |
Original: |
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Example 4 |
Original: |
Arguments: |
Arguments: |
What the script does is as follows:
This is equivalent to the following IM commands for the case of direction=right
|