Indicator HTML Canvas

Hello,

Does anyone have a HTML Canvas example of an indicator widget? I tried to use the standard indicator widget, but it does not suit my needs.

I’m looking for a indicator that will change colour and “blink” based on a variable’s value.

I have no experience with JavaScript, so sorry if this is a simple question.

Cheers!