# Cool Canvas Animation

**URL:** <https://forum.kirupa.com/t/cool-canvas-animation/635495>\
**Category:** web dev\
**Created:** [October 28, 2016, 3:30pm UTC](https://forum.kirupa.com/t/cool-canvas-animation/635495 "2016-10-28T15:30:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [October 28, 2016, 3:30pm UTC](https://forum.kirupa.com/t/cool-canvas-animation/635495/1 "2016-10-28T15:30:17Z")

</div>

> **[Explosive Attraction](https://codepen.io/natewiley/pen/yakLgb)**
>
> Interactive particle animation, move mouse, or touch to change attraction point....

Getting excited over interactive animations like is just one of those things I’ve never really outgrown! 👴

---

<div class="post-metadata">

**Author:** ![linusj](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@linusj](https://forum.kirupa.com/u/linusj)\
**Post date:** [November 2, 2016, 2:10pm UTC](https://forum.kirupa.com/t/cool-canvas-animation/635495/2 "2016-11-02T14:10:53Z")

</div>

If you circles with the mouse around the particles, faster than the speed of particles, they get caught in the “mouse event horizon” and cannot escape.

Not a black hole, but a colourful finger… 😄

 ![](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/2X/1/1787b218ee7ad02f4598a471858a39341f13442c.png)

Edit: hmmm, this could actually be a new game idea. If particles touches mouse they explodes, if mouse circles around particles, they form blob, etc
