Help with auto-filling map idea

Basically, I have this idea in my head of an old school dungeon map that starts blank and fills in on its own. Simple, yeah? But I just can't seem to think of a way to do it properly. Here's a (very rough) example:
map example.png

So, I've got a grid. The only idea that makes sense so far is to cover the completed map (the white parts) with a second picture that's all dark. Let's say it's actually 10x10. This would take 100 pictures to fully cover each slot, even more if it's any bigger since 10x10 is somewhat small. The picture limit is 100 so I can't do it that way, so I have a few options available. I could

1. Make a picture for every possible map configuration. In a 10x10 grid that'd be one new picture for every slot and every combination inbetween, which if I'm not mistaken would be a LOT of pictures. So that's not really feasible.
2. Divide it into columns. That way there's only 1 picture per column. However, I'd again have to make a new picture for every slot and every combination... Not to mention fiddle with a ton of variables to calculate where you've been already. So that'd be like 10x10x10, or somewhere along those lines. Which is a lot.
3. Divide it into... Tiny columns? Like 5-slot chunks? I dunno. Seems messy.

Anyone have any ideas? Is there a plugin for this? I guess if I could expand the picture limit that'd work, but surely they made it 100 for a reason? Are there any negative effects from having like 300 little squares on the screen?
It's usually called "fog of war" by gamers, and I know for a fact that several RPG-Makers (including VXA) had scripts or plugins to provide that mechanic.
Unfortunately I don't know if one was made for MV, but perhaps you can find one searching for the term fog of war
That does seem to help lead me down the right path, thanks! I'll dig a little, I don't know why that slipped my mind...

Original thread: https://forums.rpgmakerweb.com/threads/help-with-auto-filling-map-idea.136164/