# Doubt: Rendering camera methods after a certain time interval

**URL:** <https://discourse.processing.org/t/doubt-rendering-camera-methods-after-a-certain-time-interval/9313>\
**Category:** Summer of Code\
**Created:** [March 14, 2019, 10:34pm UTC](https://discourse.processing.org/t/doubt-rendering-camera-methods-after-a-certain-time-interval/9313 "2019-03-14T22:34:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanketsingh24](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@sanketsingh24](https://discourse.processing.org/u/sanketsingh24)\
**Post date:** [March 14, 2019, 10:34pm UTC](https://discourse.processing.org/t/doubt-rendering-camera-methods-after-a-certain-time-interval/9313/1 "2019-03-14T22:34:25Z")

</div>

As a part of my GSoC project, I wanted to add new functionality to p5’s WebGL mode, which would use time intervals along with pre-existing p5.camera methods.

It would basically be doing something like calling certain methods at a gap of the time interval, [more info can be found here](https://discourse.processing.org/t/ideas-and-suggestions-needed-for-improving-p5-js-webgl-mode-in-gsoc-2019/8865/9?u=sanketsingh24).

I just wanted to check if this behavior can be emulated now, without these methods?

---

<div class="post-metadata">

**Author:** ![sanketsingh24](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@sanketsingh24](https://discourse.processing.org/u/sanketsingh24)\
**Post date:** [March 19, 2019, 5:59pm UTC](https://discourse.processing.org/t/doubt-rendering-camera-methods-after-a-certain-time-interval/9313/2 "2019-03-19T17:59:32Z")

</div>

Hey,This has been solved. I completely forgot about `millis()` and as it turns out, `millis()` is exactly the same as the function I was proposing, So I will be removing it soon from my proposal.
