The demo looks great to me! If it's a bit laggy, maybe try clip path? Clipping is a bit more performant as it just uses geometry and doesn't have to work out alpha values. Simplified demo here. (also supporting the transparency aspect that you needed) See the Pen 1381ecb558b9c8e39ff22729cc425dd5 by cassie-codes (@cassie-codes) on CodePen
    • Like