Mouse Trailing effect

Hello, i found this website (https://tholman.com/cursor-effects/) that gives me a githup link to the code they use to get the 'trailing' mouse effect. I just cant get my head around how to implement this codes on my framer side so that this effect is working. Maybe someone can help me here
cheers