Please check this URL. It is a good resource…
In this URL you can see the deviation angle and how does it change with the rotation of the prism.
Here you go with a link of IA and EE. DON’T try to copy and use the same idea but can explore and can come up with your new idea. Hope this will be helpful.
This document has taken from Dr. Headlee.