README

This README provides an overview and instructions for two scripts: one HTML file that runs in a browser and one JavaScript file that can be run in the p5.js editor. Both scripts implement a particle system with similar functionality.

Table of Contents


HTML File

Description

The HTML file includes an embedded script that uses the p5.js library to create and display a particle system. The particles move in circular patterns with dynamic scaling and fading trails.

Setup and Execution

  1. Prerequisites:

    • A web browser with JavaScript enabled.
    • Internet connection to load the p5.js library from CDN.
  2. Steps to Run:

    • Open the index.html file in any web browser.
    • Play the animation directly in your browser using the following URL: Play Whirlpool
p5.js Script

Description

The p5.js script file Script1.js creates a particle system with circular motion and dynamic trails. It is designed to run in the p5.js editor.

Setup and Execution

  1. Prerequisites:

    • p5.js editor or a local p5.js setup.
  2. Steps to Run:

    • Open the Script1.js file in the p5.js editor or include it in an HTML file set up to run p5.js sketches.