DEV Community

Discussion on: Using PixiJS to generate or animate a Chrome Extension icon

Collapse
 
nateowami profile image
Nathaniel Paulus

He, he... The first thing I thought of when reading this is the official docs for chrome.browserAction:

Don't constantly animate your icon. That's just annoying.

To be fair though, I've seen it used to communicate status in a legitimate way (not constantly animated).

As with lots of things, you just have to be careful how you use it. Anyway, good post. 😀 I hadn't heard of PixiJS.

Collapse
 
k_ivanow profile image
Kristian Ivanov

Yeah, I can see how the constant animation can be/is annoying. There are plenty of extensions that use the browser action's badge to communicate with the user, but the badge has a maximum of 4 characters. Changing the icon is a common way to show that the trial is expired, the extension is paused, or deactivated, etc.
I just hadn't seen anyone animate it and decided to give it a try and document it :)
Try PixiJS - the community is pretty good and game dev forums are filled with treads how something can be done. It is open source and the guys are constantly improving it. At least for the past two years, since I've found it.

I am glad to hear that you liked the article! And I guess - code on :D