官术网_书友最值得收藏!

Frame rate

The human brain receives and processes visual information continuously. This can be used to create the illusion of motion when images follow each other fast enough. When an animation or transition runs or the user scrolls the page, the application needs to put up a new picture for each screen refresh. How many images software shows per second is the frame rate, and it's measured in frames per second (FPS):

  • A rate of 10 to 12 frames per second is referred to as clearly motion, and, in this case, a user retains awareness of inpidual pages.
  • A 24 frames per second rate with motion-blurring technology is enough to see fluid movement and is enough for the film industry.
  • A 30 frame per second rate is sufficient for movies, but without special effects.
  • 60 or more frames per second is what most people see as high-quality, smooth motion:

The act of generating a frame from an application and displaying it is referred to as user interface rendering. According to the table with recommended frame rates for popular devices, to be sure that a user interacts with an application smoothly, the application should render one frame each 16.6 ms to display 60 frames per second. The developer has to take into account that the system also requires some time to draw a frame, so it's not a good idea to plan to own all of that 16 ms, and it would be better to count on 10 ms. When an application fails to meet this budget, the frame rate drops and the content stutters on the screen.

It's essential to understand how to get smooth motion with a high frame rate. The human eye is extremely sensitive to motion inconsistencies. An application can display on average 60 frames per second, but it's enough to have only one frame that takes more than 16 ms to render, for the user to see something that we call hitching, lag, or jank. If the device's refresh rate is higher than the frame rate, the monitor displays repeated renderings of identical frames. This diagram illustrates a simplified view of jank:

主站蜘蛛池模板: 磐安县| 南漳县| 延津县| 柘城县| 黑水县| 渭南市| 崇左市| 博罗县| 资溪县| 焦作市| 无极县| 乐山市| 昔阳县| 乐都县| 聂荣县| 来安县| 克拉玛依市| 亳州市| 梧州市| 新宁县| 密云县| 韶山市| 嘉兴市| 富宁县| 滦平县| 牟定县| 博乐市| 芦溪县| 南充市| 晋州市| 杭锦后旗| 棋牌| 横峰县| 德化县| 延津县| 彭州市| 科技| 许昌市| 长垣县| 上栗县| 武川县|