Circled-shaped HP bar with alpha mask

This is very awesome stuff. Now I have a question/request. Is there a way to reverse the order? Make it feel up and possibly change colors as it fills up? Say I have an energy bar that I refill with say holding down a key.
Same setup but I reverse it in what node?