Three.js is a cross-browser JavaScript library and application programming interface (API) used to create and display animated 3D computer graphics in a web browser using WebGL.
In this project, I have created many three.js models which may help you in your projects to add something unique to your website. I have added stars model in my personal Portfolio website (https://singhteekam.in/).
Let's get started:
- Create a new React.js project. Refer blog (https://bloggerspace.singhteekam.in/create-react-app-using-npx )
- Create components and models folder under src folder
- In components folder, we will place all our components.
- In models folder, we will place all the models that we will create later in this blog series.
- Install three.js
npm install three- In next blogs, we will start creating our models.
Source code: https://github.com/singhteekam/threejs