diff --git a/frontend/src/components/PhysicsSimulation.tsx b/frontend/src/components/PhysicsSimulation.tsx index dc779fc..8579127 100644 --- a/frontend/src/components/PhysicsSimulation.tsx +++ b/frontend/src/components/PhysicsSimulation.tsx @@ -86,22 +86,22 @@ export function World() { }); // Bottom wall (ground) - const ground = Bodies.rectangle(width / 2, height - 10, width, 20, { + const ground = Bodies.rectangle(width / 2, height + 250, width, 500, { isStatic: true, render: { fillStyle: bgColor }, }); // Left wall - const leftWall = Bodies.rectangle(-10, height / 2, 20, height + 40, { + const leftWall = Bodies.rectangle(-250, height / 2, 500, height + 40, { isStatic: true, render: { fillStyle: bgColor }, }); // Right wall const rightWall = Bodies.rectangle( - width + 10, + width + 245, height / 2, - 20, + 500, height + 40, { isStatic: true, @@ -110,7 +110,7 @@ export function World() { ); // Top wall - const topWall = Bodies.rectangle(width / 2, -10, width, 20, { + const topWall = Bodies.rectangle(width / 2, -250, width, 500, { isStatic: true, render: { fillStyle: bgColor }, });