Sphere is a game made with Babylon.js and Cannon.js. It is also avalible on Khan Academy, at this link: https://www.khanacademy.org/computer-programming/sphere-3d-game/5793388966625280
If you are interested in learning Babylon.js and/or Cannon.js, then you can check out my tutorial on Khan Academy. Link: https://www.khanacademy.org/computer-programming/babylonjscannonjs-tutorial/4610446517256192
I used code from Simply Coding's course on 3D for some sphere movement. All other code is mine.