 | Simulation 2D Boxes |  |
Basic simulation using falling 2d boxes - with impulses for resolving box-box intersections/collisions.
Simulation 2d boxes (WebGPU Compute)
Functions Used: requestAdapter(), getPreferredCanvasFormat(), createCommandEncoder(), beginRenderPass(), setPipeline(), draw(), end(), submit(), getCurrentTexture(), createView(), createShaderModule()
Complete Code
|