siteShake.js is a javascript library to prank if it's added to html file of any site it will shake it and change viewport to make it as if the device ran into a problem
just add this to the body of your html file
<script src="https://cdn.jsdelivr.net/gh/AnubhavSingh0708/siteshake.js@main/siteShake.js">
</script
and then rotate by calling function rotate()
in javascript