boxdd Examples

Bevy Web examples

Run a Box2D scene

Each entry opens a dedicated Bevy + egui WASM page backed by the same Box2D provider runtime.

StackingSingle BoxA dynamic box starts with horizontal velocity and settles on a long static segment.Stacking / Single Box StackingTilted StackOffset columns of rounded boxes show solver stability under uneven stacking pressure.Stacking / Tilted Stack StackingCircle StackDynamic circles stack and roll through the same contact solver path as the official sample.Stacking / Circle Stack BenchmarkLarge PyramidA browser-sized version of the classic Box2D pyramid solver stress sample.Benchmark / Large Pyramid BodiesBody TypeStatic, kinematic, and dynamic bodies share one scene so body behavior is visible.Bodies / Body Type BodiesKinematicAn app-controlled platform drives dynamic boxes through Bevy-to-Box2D transform sync.Bodies / Kinematic ContinuousSkinny BoxA fast bullet body targets a thin wall with continuous collision enabled.Continuous / Skinny Box ShapesRestitutionIdentical circles fall onto pads with increasing restitution values.Shapes / Restitution ShapesFrictionBoxes slide across ramps and floors with different friction coefficients.Shapes / Friction ShapesFilterCategory and mask bits split bodies into groups that collide or pass through each other.Shapes / Filter EventsSensor FunnelFalling visitors pass through a transparent sensor and update the egui counters.Events / Sensor Funnel EventsContactContact begin, end, and hit events are enabled on dynamic bodies and reflected in the panel.Events / Contact JointsBridgeDistance joints connect planks into a bridge and a dropped weight disturbs the chain.Joints / Distance Joint, Joints / Bridge JointsRevoluteA revolute joint creates a pendulum that strikes a small stack.Joints / Revolute