HexHive is an animation that brings to life a swarm of hexagonal particles bursting forth like bees from a hive.
Try it live: HERE
HexHive showcases a swarm of hexagon-shaped particles that explode outward from the center of the screen, mimicking the movement of bees.
- Clone the repository:
git clone https://github.com/yourusername/HexHive.git
- Navigate to the project folder:
cd HexHive
- Open index.html in your web browser—no additional setup or dependencies needed!
Once you open index.html, the animation kicks off automatically. Here’s what you can do:
- Watch the hexagonal particles swarm and spark across the screen.
- Resize your browser window to see how the animation adjusts dynamically to different dimensions.
Want to hack the animation? Open script.js and play with the following settings:
**count: Adjust the number of particles (e.g., increase to 30 for a denser swarm). **particleSize: Change the size of the hexagons. **color: Modify the particle color (defaults to bee-like yellow). **sparkChance: Control the frequency of fiery orange sparks. ***len: Set how far particles travel per frame.
For example, to make the particles larger:
particleSize: 10,
To contribute:
- Fork this repository.
- Create a branch for your changes (git checkout -b my-feature).
- Commit your updates and push them.
- Submit a pull request with a brief explanation of what you’ve added or improved.
- Whether it’s a bug fix, a new feature, or a wild customization, all contributions are appreciated!
HexHive draws inspiration from the wild, wonderful world of bees.
Distributed under the GNU Affero General Public License v3.0 License. See LICENSE
for more information.