R3F and Rapier physics to build floating bubbles

please I made this my code pen but I want to ask if my way to implement the gravity is good because I want to make the gravity position at the top right of the screen and I also added walls to make the bubbles don’t go out the canvas which take the full screen size so please is my way correct and good to continue the work I asking a lot because I really new to those libraries, thank you so much and the borders of the walls on my screen is good but on code pen they don’t occupy the whole screen