Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 1.79 KB

README.md

File metadata and controls

64 lines (40 loc) · 1.79 KB

3D web with React and Three.js

A pactice project from excellent Tutorial. Feel free to modified to your own.

Quick Start

Follow these steps to set up the project locally on your machine.

Prerequisites

Make sure you have the following installed on your machine:

Cloning the Repository

git clone [email protected]:PingHsunTsai/my_threejs_web.git
cd my_threejs_web

Installation

Install the project dependencies using npm:

npm install

Set Up Environment Variables

Create a new file named .env in the root of your project and add the following content:

REACT_APP_EMAILJS_USERID=your_emailjs_user_id
REACT_APP_EMAILJS_TEMPLATEID=your_emailjs_template_id
REACT_APP_EMAILJS_RECEIVERID=your_emailjs_receiver_id

Replace the placeholder values with your actual EmailJS credentials. You can obtain these credentials by signing up on the EmailJS website.

Running the Project

npm run dev

Open http://localhost:5173 in your browser to view the project.

Featurs

  • Interactive Particles Canvas.
  • ...underconstruction.

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available: