Thursday, September 17, 2015

The 3D Map Physics Engine


You can drop balls, barrels and boxes into the Grand Canyon with this new 3d map. Balls, Barrels and Boxes is an impressive demonstration of a physics engine running on a 3d Esri map.

Using the map you can drop balls, barrels or boxes on any location in the world and see how the objects react to the natural terrain. The map includes a number of interesting preset locations, with suitably hilly terrain for your balls, barrels and boxes to be able to roll downhill.

The map also includes a number of options to adjust the number of objects you wish to drop and apply different planetary gravity forces on your dropped objects.

The map was created using the cannon.js physics engine with Esri JS 4.0. You can explore the code behind the map in more detail on this GitHub page.

No comments: