I love these projects.
I did a related project where I created a single, solid object that has 4 different silhouettes/shadows from 4 different angles in the same plane. Using more view angles than dimensions makes the problem much more complex. I suspect it is not possible to do this purely programmatically so I did it by hand had to smudge the letters to get everything to work out.