Note! Important -> The main branch is experimental and full of bugs and errors, if you want a stable version go for the Version1 branch.
Access the laggy Github Pages version here -> https://codewithnishant.github.io/Bouncy-Ball/
Bouncy-Ball or Bouncy-Creepy-Ball is a javaScript Game (Interactive 3D Website) made using Three.js and Cannon.js.
Three.js is a JavaScript library used to create and display animated 3D computer graphics in a web browser using WebGL.
Cannon.js is an open source JavaScript 3D physics engine created by Stefan "schteppe" Hedman. Unlike physics engine libraries ported from C++ to JavaScript, cannon.js is written in JavaScript from the start and can take advantage of its features.
Vite is a modern build tool and development server for web projects, designed to provide a faster and more efficient workflow for modern front-end development.
- Clone the repository using git clone .
- Navigate to the project directory using the cd command.
- Install three.js using command npm install three.js
- Install cannon.js using npm install cannon-es
- Finally run the application using npx vite command (install vite if required).