Skip to content

dev2019zheng/threejs-cube-with-text

Repository files navigation

Three.js text Demo

Preview

How to Use

Prerequisites

  • Node.js and npm installed on your machine.

Installation

  1. Clone the repository:
    git clone https://github.com/dev2019zheng/threejs-cube-with-text.git
    cd threejs-cube-with-text
  2. Install the dependencies:
    npm install

Running the Demo

  1. Start the development server:
    npm start
  2. Open your browser and navigate to http://localhost:8080 to view the demo.

Building for Production

  1. Build the project:
    npm run build
  2. The output will be in the dist directory. You can serve it using any static file server.

CI/CD Pipeline

This project uses GitHub Actions for Continuous Integration and Continuous Deployment (CI/CD).

CI

On every push and pull request to the main branch, the following steps are performed:

  • Checkout the code
  • Set up Node.js
  • Install dependencies
  • Run build
  • Run tests

Deployment

On every push to the main branch, after the CI steps are successful, the project is deployed to GitHub Pages. The deployment steps include:

  • Checkout the code
  • Set up Node.js
  • Install dependencies
  • Build the project
  • Deploy to GitHub Pages

The deployment is handled by the peaceiris/actions-gh-pages action.

License

This project is licensed under the MIT License.

About

ThreeJS demo, render text geometry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published