yiliansource / party-js

A JavaScript library to brighten up your user's site experience with visual effects!
https://party.js.org
MIT License
994 stars 45 forks source link

Support for shapes on sparkles function #84

Closed rubengc closed 2 years ago

rubengc commented 2 years ago

Actually sparkles only works with the "star" shape but there is no reason to do not add the "shapes" argument to let you define your own shapes in the sparkles template

For example, circles looks really awesome for this template to please, consider to add this option

yiliansource commented 2 years ago

Hi! Sorry for the late response. That's a great idea, I am probably going to be unifying the configuration on the templates anyway. I'm not sure if I'll be adding a patch for this, or if I'll only add it in v3.

yiliansource commented 2 years ago

Hi, I added this in v2.2.0. Enjoy!