Skip to content

mugalikarabhishek/DragCircle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DragCircle and detect collsion with another circle

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.