@staticmethod<EOL><INDENT>def _interpolate(start, end, step, total_steps):<DEDENT>
diff = end - start<EOL>progress = step / (total_steps - <NUM_LIT:1>)<EOL>return start + progress * diff<EOL>
Interpolate a value from start to end at a given progress.

:param start: The start value.
:param end: The end value.
:param step: The current step.
:param total_steps: The total number of steps.
:return: The interpolated value at the given progress.