Canvas animation technique.