Numerical study of precession of circulating particles in tokamaks