Although cool, it kind of ignores the responsive design-ness of modern websites if I’ve understood the implementation correctly?
Everything seems based off knowing the exact size of the original and the new container, so if the proportions of the container change, so will the clipping?
Could probably fix with a lot of breakpoints and the like, but it feels like it would be better generating a cropped version of the image beforehand instead of using this.