magicpy
magicpy copied to clipboard
An autostereogram (MagicEye) image generator written in Python
Traceback (most recent call last): File "C:\magicpy\magicpy.py", line 63, in out_data[x, y] = out_data[x - pattern_width + (shift * invert), y] ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ IndexError: image index out of range
Every time I try to run `./example.sh`, this happens: ``` Traceback (most recent call last): File "/home/user/magicpy/magicpy.py", line 53, in pattern = gen_pattern(pattern_width, depth_map.size[1]) File "/home/user/magicpy/magicpy.py", line 27, in gen_pattern...
How could the code be modified to tile images or distort an existing image to achieve the magic eye effect?  