This example demonstrates how to calculate the size of an image required to fill the screen when rotated, with given dimensions of screen and image. Click and hold for further illustration of the concept. All code by me (@kriblo). This was difficult to code, given the current state of the Scratch editor. Art by Naruto the Macaque: https://en.wikipedia.org/wiki/Monkey_selfie_copyright_dispute