Skip to content

3D Interactive World, built using Three.js and Ammo.js

Notifications You must be signed in to change notification settings

BrianShenCC/Portfolio_2020

 
 

Repository files navigation

Portfolio 2020

As a quarantine project, I wanted to learn 3D web development, and decided to revamp my portfolio into an interactive 3D world built using Three.js and Ammo.js, a port of the Bullet physics engine to JavaScript. I had an absolute blast making this!

Try it out! https://www.0xfloyd.com/

I wrote an article explaining the site here

alt text

Motivation

While exploring Google Experiments I discovered an amazing world of web rendering. There are so many incredible web projects out there, and I wanted to learn this technology. I was inspired by many awesome projects, but specifically examples from the official examples/documentation, Lee Stemkoski and Three.js Fundamentals.

Features

  • Physics engine (Ammo.js) combined with 3D rendered objects (Three.js) for real-time movement, collision detection and interaction
  • Desktop and Mobile Responsiveness with both keyboard and touch screen controls
  • Raycasting with event listeners for user touch and click interaction
  • FPS tracker to monitor frame rate/ rendering performance
  • Asset compression with webpack plugin to help with quick site load times

Technology

  • Three.js (3D Graphics)
  • Ammo.js (Physics Engine)
  • JavaScript
  • Node.js
  • Express (Node.js framework)
  • Webpack (module/ dependency bundler)
  • HTML/CSS
  • Hosted on Heroku
  • Git (version control) / Github for code hosting

Usage

To use locally, clone the repository, install dependencies, run using webpack's dev server, and navigate to localhost:8080 in your browser:

npm i
npm run dev

License

The project is licensed under the MIT License.

About

3D Interactive World, built using Three.js and Ammo.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.5%
  • CSS 8.8%
  • HTML 5.3%
  • GLSL 2.4%