PDA

View Full Version : Smooth and Fast Low-Pass Filter




Fuzzball27
Feb 21, 2012, 11:46 AM
I'm using a low-pass filter to smooth my accelerometer data/object movement on screen. It looks like this:

accelX = (accelX * someFactor) + (accelerometer.x * someOtherFactor);


I'm looking for a good combination of factors that will provide smooth and fast movement for the object(s) on screen. Any suggestions?
(the accelerometer refresh rate is 1/10)



Fuzzball27
Feb 21, 2012, 11:59 AM
Never mind.