Smooth and Fast Low-Pass Filter

Discussion in 'iOS Programming' started by Fuzzball27, Feb 21, 2012.

  1. macrumors newbie

    Aug 8, 2011
    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)
  2. thread starter macrumors newbie

    Aug 8, 2011

Share This Page