HELP | Carousel Slider

Hello, everyone. I’m struggling to find ways on how to create this custom carousel mostly because it’s using custom code.

Reference: https://aristidebenoist.com/

The text is not that important. The main effect when switching from one to another is what I would like to create. I’m open to any suggestions and I would really appreciate your help on this. Thank you in advance!