Each page navigation runs a WebGL shader that reads both the old and new page as live textures via the new texElementImage2D() API, then composites them through the selected compiz inspired effect.
You can test it here (must be using chrome canary): https://compiz-web.vercel.app/, or see the demo video on github