Skip to content

nothingnothings/threejs-fireworks

Repository files navigation

Three.js Fireworks 🎆

en pt-br

A simple Three.js project that creates fireworks animations upon left mouse clicks on the canvas. Developed as a part of Bruno Simon's Three.js Journey Course.

See it in action here

Fireworks Demo

Features

  • Colorful random fireworks animation upon left mouse click.
  • Dusk-colored sky in the background.
  • Responsive canvas that adjusts to window size.
  • Object-based project organization.

Installation

  1. Clone the repo
    git clone https://github.com/your_username/your_repository.git
  2. Install NPM packages
    npm install

Usage

  1. Run the development server

    npm run dev
  2. Open your browser and go to http://localhost:5173

How It Works

The project uses Three.js to create a 3D scene with fireworks animations. Upon left mouse clicks on the canvas, a new fireworks effect is generated at the clicked position.

License

Distributed under the MIT License. See LICENSE for more information.

About

Fireworks particle effect developed during Threejs Journey Course

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published