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. |
Converts an image into a mandala-like kaleidoscope image. |
last modified: December 15, 2018
USAGE: mandalascope [-n number] [-s scale] [-r rotation] [ -t translation] [-z zoom]
[-b bgcolor] infile outfile
-n ... number ........ number of repetitions; integer>=3; default=12 PURPOSE: To convert an image into a mandala-like kaleidoscope image. DESCRIPTION: MANDALASCOPE converts an image into a mandala-like kaleidoscope image. ARGUMENTS: -n number ... NUMBER of repetitions. Values are integers>=3. The default=12. -s scale ... SCALE factor. Values are floats>0. The default=1. -r rotation ... ROTATION angle in degrees. Values are 0<=integer<=360. The default=0. -t translation ... TRANSLATION. Values are 0<=integer<=200. The default=0. -z zoom ... ZOOM factor. Values are floats>0. The default=1.4. -b bgcolor ... BGCOLOR is the background color. Any valid IM color is allowed. The default=black. 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 Number |
|||
Original | |||
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Example 2 --- Variation in Zoom |
|||
Original | |||
Arguments: |
Arguments: |
Arguments: |
|
Example 3 --- Variation in Scale with Translate=0 |
|||
Original | |||
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Example 4 --- Variation in Scale with Translate=50 |
|||
Original | |||
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Example 5 --- Variation in Rotation with Translate=0 |
|||
Original | |||
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Example 6 --- Variation in Rotation with Translate=50 |
|||
Original | |||
Arguments: |
Arguments: |
Arguments: |
Arguments: |
Example 7 |
Original |
Arguments: |
Example 8 |
Original |
Arguments: |
Example 9 |
Original |
Arguments: |
Example 10 |
Original |
Arguments: |
What the script does is as follows:
This is equivalent to the following IM commands
|