Description Usage Arguments Value Examples
Translate takes the path to and image and generates randomly translated images, the desired number of times. Each translated image will not be translated more than the maximum distance provided. The translation can be in any direction.
1 | translate(image_path, num_images, max_translation)
|
image_path |
string: The file path of the image to be translated. |
num_images |
integer: The number of translated images to be returned. |
max_translation |
integer: The maximum distance in pixels that the image can be translated. |
array: pixel values of the translated images
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.