magicpy icon indicating copy to clipboard operation
magicpy copied to clipboard

An autostereogram (MagicEye) image generator written in Python

Results 3 magicpy issues
Sort by recently updated
recently updated
newest added

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? ![image](https://github.com/synesthesiam/magicpy/assets/5267078/a3625324-1dee-4a38-b99a-13bae289dd5d) ![image](https://github.com/synesthesiam/magicpy/assets/5267078/af315ebc-7e78-4e89-b7ec-d625da044305)