1432 weights.append(start + (end - start) * math.sin(i / n * math.pi / 2)) 1433 elif timing == "ease_out": 1434 weights.append(start + (end - start) * (1 - math.cos(i / n * math.pi / 2))) 1435 elif timing == "random": 1436 weights.append(random.uniform(start, end)) 1437 1438 weights[-1] = end if timing != "random" else weights[-1] 1439 if end_frame < frames: