elastic swinging ball physics | ScratchStats