Projectile effect: an image grows from tiny to large while rotating, then swaps to a "splat" image and fades out.
Inspired by the classic Muzie snowball — but generic enough for any projectile/impact combo (tomato, water balloon, pie, etc.).
<SnowballEffect projectileUrl="/assets/snowball.png" splatUrl="/assets/splat.png" onComplete={clearEffect}/> Copy
<SnowballEffect projectileUrl="/assets/snowball.png" splatUrl="/assets/splat.png" onComplete={clearEffect}/>
Projectile effect: an image grows from tiny to large while rotating, then swaps to a "splat" image and fades out.
Inspired by the classic Muzie snowball — but generic enough for any projectile/impact combo (tomato, water balloon, pie, etc.).