I want some help about phaser3 physics

I want to make a billiards game with matter physics , but I don’t know how to set friction and bounce properly , I’m poor in math. I had experienced some game in
this page ,
and I found that this game was made by billiards-physics.min.js , but I can’t find any document about it ,Is it an open source project ?if not , can someone give me some advice? thank you.