canvashot-doctorerror

2.5.3 • Public • Published

Canvas Fire Animation

This project demonstrates a simple animation of fire using JavaScript's Canvas API. It generates a dynamic effect resembling flames rising upwards.

Overview

The animation consists of particles moving upwards with random velocities and colors, simulating the appearance of flames. Each particle fades out gradually as it moves, creating a realistic effect of fire.

Usage

Simply include the provided index.js file in your project and ensure that you have an HTML file with a element where the animation will be rendered.

Demo

For a live demo of the animation, check out this link.

Features

Dynamic generation of fire particles. Randomized velocities and colors for a natural flame effect. Realistic fading out of particles to simulate burning. Contributing Contributions are welcome! Feel free to submit any issues or pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

/canvashot-doctorerror/

    Package Sidebar

    Install

    npm i canvashot-doctorerror

    Weekly Downloads

    0

    Version

    2.5.3

    License

    Apache-2.0

    Unpacked Size

    4.93 kB

    Total Files

    3

    Last publish

    Collaborators

    • doctorerror