What code does virations for Input shaping calibration?

I need to look into vibration making code for my stepper vibro project.
I tried some libs for arduino but they are very slow.
My 3d printer Input Shaping calibration does it perfectly. Up to 100Hz
Point me where to look, please!

You can start there.
Hope that helps.