Python based PIL drawing in game engine and viewport(eventually)

Hey blueprintrandom this could be used to limit draw calls in digging terrain openworld videogames.All it needs is to erase a color and make that area transparent.But that is not the whole idea.You still have the code?