3d Cube Perspective Illusion

When I was young I saw a flat image from the correct angle that makes this appear as a cube. I was never able to recreate the shape with legos, or any other media. Frustrated I gave up. OpenScad gave me the opportunity to really test if the shape was possible. Turns out it was an illusion after all! I think I recreated the exact shape, but I could have played around more with different margins to make it seem more cube-like from other angles.