Description Usage Arguments Value Examples
Mirror takes the path to an image and generates a mirrored version of that image in the horizontal direction, vertical direction, or both. It returns an array of pixel values for the mirrored image(s).
1 | mirror(image_path, direction = "all")
|
image_path |
string: the file path of the image to be mirrored |
direction |
string: dirction of mirroring. Options: 'horizontal', 'vertical', 'all'. Defaults to 'all' |
array/matrix: pixel values of the original image and mirrored image(s)
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.