Spatial Hash: Manage elements in a two dimension space

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-11-15 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 200 This week: 1All time: 203 This week: 20Up
Version License JavaScript version Categories  
spatial-hash 1.0GNU General Publi...1.0Games, Algorithms
Description Author  

This object can manage elements in a two dimension space.

It can create a two dimension space with cells of a given size.

The object can add (and remove) elements to it with given positions and dimensions.

It can also retrieve a list of elements that occupy at least partially cells of an area in a given position and dimension to determine if there are any elements that may collide with others if they try to occupy the same space.

Picture of Dino Gambone
Name: Dino Gambone <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 949 in United States United States
Week rank: 20 Up4 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file SpatialHash.js Class Spatial Hash

 Version Control Unique User Downloads Download Rankings  
 0%Total:200All time:203
 This week:1This week:20Up