Spatial Hash: Manage elements in a two dimension space

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 214 All time: 232 This week: 17Up
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: 11611 in United States United States
Week rank: 6 Up2 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  
This week:0
All time:232
This week:17Up