Matter.js

Matter.js是一个基于Web的2D图形引擎。特性:物理属性(质量、面积、密度等)任何凸多边形的刚体稳定的叠加和resting碰撞(broad-phase,mid-phaseandnarrow-phase)Restitution(elasticandinelastic