Mouse interaction 2d(js)

Greetings friends!
I need a little help.

This is an example (matter.js library) which is very similar to what I need. BUT, it’s not that simple.
In this example above, you can only move objects when you grab one of the objects, and you can also move/kick other objects with it.

The problem is that I need all of these objects to move away from the cursor (kick the cursor). That is, you move the cursor, and the objects are pushed away from it (the cursor must have the same physical state). And also, this section should scroll. Since it should be a long page.
Here is an example of what I need https://antoniouve.com/ or 10 Idées reçues sur l'UX Design

Maybe there are similar works somewhere, so they can be viewed/cloned? Anyway, need to figure out if it is possible to do this?
I just haven’t found any similar solutions.

Any information would be appreciated.

Thank you very much!