Not exactly what you describe but this project [0] did it with cubes.

The cube is filled with splats. Each face reveals a different picture when viewed from a perpendicular angle

[0] https://www.3dpoint.art/