Very cool. My quadtree is not very optimized with large numbers of balls, but I just wanted to show it as a proof of concept in lua.kraftman wrote:nice, I did something similar recently with spatial hashing but not quadtree:
Click to increase ball number, arrow keys up and down for grid density
Search found 223 matches
- Wed Apr 11, 2012 11:45 am
- Forum: Libraries and Tools
- Topic: Quadtree Spatial Indexing Demo
- Replies: 14
- Views: 6282
Re: Quadtree Spatial Indexing Demo
- Wed Apr 11, 2012 1:58 am
- Forum: Libraries and Tools
- Topic: Quadtree Spatial Indexing Demo
- Replies: 14
- Views: 6282
Quadtree Spatial Indexing Demo
Hi everyone. I find love2d really cool! ^^ I got interested in spatial indexing and decided to try my hand on quadtrees. I tried to base it on this link: http://www.kyleschouviller.com/wsuxna/quadtree-source-included/ I've attached a demo showing what it looks like. You can left mouse click on a cir...
- Wed Mar 28, 2012 5:17 pm
- Forum: General
- Topic: Collision detection for dummies
- Replies: 1
- Views: 1525
Re: Collision detection for dummies
Very cool. There's so much theory on just collision alone.