It’s nowhere near as sophisticated as you’re imagining—I created the effect by running the generator locally, overwriting the screenshot a few times, and then setting the result as the og:image on the page. It doesn’t update automatically or anything like that.