web – How to add these specific effects as shown in this portfolio on home page?

so my question here is how to add or which library should I use to add these kinds of effects that are shown in this portfolio – https://patrickheng.com/ over the home page?

Like that ball spongy effect when we hover the mouse over it.

Thanks, any help would be appreciated.

Portfolio – https://patrickheng.com/