./main img.png -x -y
(constrain deformation to only x or y axis)
./main input.gif -y -I 3 -O 5
(previous gif, only y axis, Iterate each frame 3 times, random Offset 5)
Example Usage: ./main img.png -O 4 -y -o cool.gif
img.png - Input image
-O 4 - Maximum pixel offset of 4
-y - Only offset y axis
-o cool.gif - Output file cool.gif
Options:
-I iterations: Number of frames to generate (default 50)
-O offset: Maximum pixel offset (default 2)
-t tolerance: Minimum brightness to trigger effect (default 128)
-f frame_rate: Frame rate of output gif (default 20)
-r randChance: Chance of effect happening (default 10)
-m mode: Effect mode bleed/diffuse/wind/haze (default bleed)
-x Only offset x axis
-y Only offset y axis
-o output: Output file (default output.gif)
-i input: Input file
-h Show help
image: Path to image
