# 2D Joints Play Demo Demonstrates: - RigidBody2D physics bodies with automatic gravity - StaticBody2D as a fixed anchor point - PinJoint2D connecting bodies with Baumgarte-stabilized distance constraints - PhysicsServer handles all constraint solving automatically - Click-to-apply-force interaction on the bottom ball Controls: LMB - Apply impulse to the bottom ball R - Reset the chain ESC - Quit Run: uv run python packages/graphics/examples/2d_joints.py ## Source Code ```{literalinclude} ../../packages/graphics/examples/2d_joints.py :language: python :linenos: ```