how can i make this curve:
Change the curve interpolation from bezier to linear (T), then add a Stepped modifier to the curve