speed based on time and opacity of the images also based on time