def bounce_linear_1d(t, dt, x, y, prev_state, in_color): return in_color, rpi_ws281x.wave_sine(x + rpi_ws281x.wave_triangle(t))
def bounce_cubic_1d(t, dt, x, y, prev_state, in_color): return in_color, rpi_ws281x.wave_sine(x + rpi_ws281x.wave_cubic(t))
def sine_1d(t, dt, x, y, prev_state, in_color): return in_color, rpi_ws281x.wave_sine(t + x)