vary the level opacity over time