# How to increase the regularity of the scrolling of the frames? How to have them with a precision of a perfect clock?

**URL:** <https://discourse.processing.org/t/how-to-increase-the-regularity-of-the-scrolling-of-the-frames-how-to-have-them-with-a-precision-of-a-perfect-clock/31790>\
**Category:** Processing\
**Created:** [August 19, 2021, 3:19pm UTC](https://discourse.processing.org/t/how-to-increase-the-regularity-of-the-scrolling-of-the-frames-how-to-have-them-with-a-precision-of-a-perfect-clock/31790 "2021-08-19T15:19:09Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 23, 2021, 10:29am UTC](https://discourse.processing.org/t/how-to-increase-the-regularity-of-the-scrolling-of-the-frames-how-to-have-them-with-a-precision-of-a-perfect-clock/31790/5 "2021-08-23T10:29:08Z")

</div>

Hello @bking ,

This topic may be of interest:

> [@FrameRate hiccups](https://discourse.processing.org/t/framerate-hiccups/11947/15):
>
> I had some fun visualizing the data available to me. I displayed frameRate data (which averages) to framerate calculated from time between frames. [https://processing.org/reference/frameRate.html](https://processing.org/reference/frameRate.html) Code (you will have to select use “true” or “false” to see different modes of output): PrintWriter output; Table table; int time = 16\*60+40; //16s\*60f/s = 960f hiccups end after this time boolean dispMode = true; // "true" stores to file and plots after "time", "false" plots in real time lo…

`:)`

---

_[View the full topic](https://discourse.processing.org/t/how-to-increase-the-regularity-of-the-scrolling-of-the-frames-how-to-have-them-with-a-precision-of-a-perfect-clock/31790)._
