MZ Show tile animation when tiles are in game window view

Basically, any tiles that are outside the game window do not animate. This would help performance in large maps, without having to completely disable animations on tiles.
Maybe it would be best to create a buffer to allow for a smooth transition, such as the +3 tiles in any direction are still animating.

Let me know if my description makes sense. I think it would be a really useful plugin for large maps. Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/show-tile-animation-when-tiles-are-in-game-window-view.127531/