Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Latest commit

 

History

History
26 lines (19 loc) · 1.02 KB

readme.md

File metadata and controls

26 lines (19 loc) · 1.02 KB

3D from scratch

Using the p5js API for interaction and 2D drawing commands to make a 3D engine "from scratch."

Project Goals

  • A reasonable suite of graphics primitives (rectangular prism, plane, sphere, etc.)
  • Basic physics simulation of 3D bodies
  • 3D collision detection for convex polyhedra
  • Impulse based collision resolution
  • Texture rendering on faces and other basic graphics strategies
  • Shading and basic lighting techniques
  • Attempt to design a good API for using my project

Learning Goals

  • Increased experience with linear algebra and differential equation topics used for physics integration and vector manipulation
  • Basic knowledge about 2D and 3D graphics techniques like texture drawing, shading, and lighting
  • Build project management skills

Test For Yourself

  • Clone the project
  • First run npm install to download all of the project dependencies
  • Then run npm run-script test to build and run the project
  • To change the local server's port, go to /project/server.js and change the PORT constant