{"version":"1.0","type":"rich","title":"box2d","description":"This example demonstrates a simple 2D physics simulation using the Box2DWeb library. A red ball and three blue crates fall under gravity onto a green ground platform. The physics engine calculates collisions, friction, and restitution, updating the positions of the objects in real time. Users can click and drag any object with the mouse to interact with the scene, applying forces through a mouse joint. The DOM elements are synchronized with their Box2D body positions and rotations using CSS transforms, running on a requestAnimationFrame loop for smooth animation.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-3411189?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}