Heavily inspired by Marta Fijak's pseudosprite technique: https://twitter.com/YerisTR/status/1228768088277094400