Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create a kaleidoscope version of an image
ResourceFunction["ImageKaleidoscope"][img] produces a kaleidoscope version of img. |
Sliders | False | when False, returns an image; when True, returns a manipulate with sliders to adjust the parameters |
ImageSize | 400 | the width and height of the square output |
CenterX | .5 | horizontal location of the input image, from left = 0 to right = 1, in the center of each kaleidoscope tile |
CenterY | .5 | vertical location of the input image, from bottom = 0 to top = 1, in the center of each kaleidoscope tile |
Zoom | .5 | zoom scale, .1 (closeup) to .5 (wide) |
center x | move the region of interest horizontally |
center y | move the region of interest vertically |
zoom | increase or decrease the zoom level |
spin angle | rotate the mirrors of the kaleidoscope |
Create a kaleidoscope version of an image:
In[1]:= |
Out[1]= |
Use the sliders to control the output:
In[2]:= |
Out[2]= |
Use the CenterX and CenterY options to adjust the region shown in each kaleidoscope tile:
In[3]:= |
Out[3]= |
Use the Zoom option to get a closeup view in each kaleidoscope tile:
In[4]:= |
Out[4]= |
Use the SpinAngle option to rotate each tile like a real kaleidoscope:
In[5]:= |
Out[5]= |
Make a trippy abstract image even more trippy:
In[6]:= |
Out[6]= |
Use nature photos for dramatic effect:
In[7]:= |
Out[7]= |
Like a real kaleidoscope, ImageKaleidoscope can sometimes surprise you with unexpected results:
In[9]:= |
Out[9]= |
This work is licensed under a Creative Commons Attribution 4.0 International License