A Learning project to understand how quadtree is used for collision detection. Used pixi js and vanilla Js to draw circle in particular triangular grid fashion. Temperature bar implmented in PIXI.js. Energy increases after collision detection.
Working - Drag the black or red color circle to yellow circle and as soon as collsion is detected the black and red circle will take the position of yellow circle.