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. |
Applies various circular ripple effects to an image. |
last modified: December 15, 2018
USAGE: ripples [-t type ] [-a amplitude] [-w width] [-o offset] [-r rmin] [-c center] [-p power ] [-s shadeval] infile outfile
-t .... type ............. type of circular ripple effect; displace (or d), modulate (or m) PURPOSE: To apply various circular ripple effects to an image. DESCRIPTION: RIPPLES applies various circular ripple effects to an image. The effects are displacement which produces water-like ripples, modulation and blend. The latter are more suited for creating wavy patterns. ARGUMENTS: -t type ... TYPE of circular ripple/wave effect. Choices are: displace or (d), modulate (or m) and blend (or b). The displace option produces water-like ripples. The modulate and blend options are better at producing wavy patterns. The default is displace. -a amplitude ... AMPLITUDE or height of ripple. Values are integers>=0. The default=20. Types of modulate and blend are not sensitive to this parameter. -w width ... WIDTH is the width or wavelength of a single ripple. Values are integers>0. The default=25. -r rmin ... RMIN is the spacing from the center to the first ripple. Values are integers>=0. The default=25. -c center ... CENTER=cx,cy are the comma separated coordinates in the image from where the circular ripples eminate. Values are integers>=0. The default is the center of the image. -p power ... POWER is the exponent that controls the tapering of the ripples/waves. Values are floats>=0. Power=0 is no taper. Power=1 is linear taper. The default=1 -s shadeval ... SHADEVAL=AZIMUTHxELEVATION are the optional x separated shading angles of azimulth (around) and elevation (up) for the lighting effect. Values are integers, 0<=azimuth<=360 degree and 0<=elevation<=90 degrees. See -shade for more details. NOTE: Requires IM 6.4.2-8 or higher due to the use of -t distort polar/depolar. 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. |
Disperse |
|||
Original |
|||
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Radial Ripple: |
Radial Ripple: |
Radial Ripple: |
Radial Ripple: |
Disperse |
|
Original |
|
Arguments: |
Arguments: |
Radial Ripple: |
Radial Ripple: |
Disperse |
||
Original |
||
Arguments: |
Arguments: |
Arguments: |
Radial Ripple: |
Radial Ripple: |
Radial Ripple: |
Disperse Animation |
||
Arguments: |
||
Modulate |
||
Original |
Arguments: |
Radial Ripple: |
Blend |
|
Original |
|
Arguments: |
Radial Ripple: |
Arguments: |
-resize 100x50% |
What the script does is as follows for displace effect:
This is equivalent to the following IM commands for zero spacing, i.e. a wave pattern
|