Skip to content

Repository files navigation

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/

About

Bouncy-Ball or Bouncy-Creepy-Ball is a javaScript Game (Interactive 3D Website) made using Three.js and Cannon.js.

Libraries and frameworks

Three.js

Three.js is a JavaScript library used to create and display animated 3D computer graphics in a web browser using WebGL.

Cannon.js

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

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.

Screenshots

Main Page

Screenshot 2024-05-27 at 9 39 32 PM

Game Window

Screenshot 2024-05-27 at 9 41 45 PM

Game Over Window

Screenshot 2024-05-27 at 9 43 19 PM

Steps to run on your local machine

  1. Clone the repository using git clone .
  2. Navigate to the project directory using the cd command.
  3. Install three.js using command npm install three.js
  4. Install cannon.js using npm install cannon-es
  5. Finally run the application using npx vite command (install vite if required).

About

A ball game made in javascript, works on three.js and cannon.js. An interactive 3D environment that can run on all modern browsers.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages