Ability to create a side by side comparison viewer

Anyone had any expirence creating a side by side comparison viewer with 2 different information layers.

Looking to create something similar to this mapbox/mapbox-gl-compare: Swipe and sync between two maps (github.com) and ideas, references or examples would be great to have a look at :slight_smile:

Hereโ€™s an example with imagery layers and one with 3D Tiles.

Thanks very much, will check these example out :slight_smile: