added amplitude and period for use with certain tweens