Search the Community
Showing results for tags 'Jitter'.
Found 1 result
Has anyone ever tried to fix paddle jitter by code? Simple averaging seems to be too simple to really work. Here is my idea for an algorithm: ; n = number of frame ; inp[n] = paddle value of current frame ; out[n] = jitter suppressed resulting value factor = 0.0 .. 1.0 ; e.g. 0.5 (1.0 means no jitter suppression and immediate response) dfactor = factor ^ (1 / abs(inp[n] - out[n-1])) ; the larger the paddle delta, the less jitter suppression out[n] = inp[n] * dfactor + res[n-1] * (1 - dfactor) Due to the math, this cannot be implemented 1:1 in 6502 assembler, but an ARM based game could use it. And Stella too. Does anyone have a better idea?