# Ideas and suggestions needed for Improving p5.js WebGL mode in GSOC 2019

**URL:** <https://discourse.processing.org/t/ideas-and-suggestions-needed-for-improving-p5-js-webgl-mode-in-gsoc-2019/8865>\
**Category:** Summer of Code\
**Created:** [March 2, 2019, 8:34pm UTC](https://discourse.processing.org/t/ideas-and-suggestions-needed-for-improving-p5-js-webgl-mode-in-gsoc-2019/8865 "2019-03-02T20:34:51Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:25pm UTC](https://discourse.processing.org/t/ideas-and-suggestions-needed-for-improving-p5-js-webgl-mode-in-gsoc-2019/8865/9 "2019-03-14T22:25:46Z")

</div>

Edit: No longer implementing this, see below

- `start/stopCamera()` -

Using time, we can start and stop effects of current p5.camera methods like `tilt()`, `setPosition()` `move()`, `pan()`, `lookAt()`. See these cases -

1. `startCamera( t ) / startInterval( t )` - starts the effects after t seconds. If none of the above methods are called before, the default `camera()` is used. After `t` seconds, the previous methods are stopped and subsequent methods are called.

2. `stopCamera( t ) / stopInterval( t )` - ends the effects after t seconds. If none of the above methods are called after, the default `camera()` is used. After `t` seconds, the previous methods are stopped and subsequent methods are called.

At the moment, I cannot decide a name for this function, as `start/stopCamera()` is a kind of misnomer, and a little misdirecting, but as is `start/stopInterval()`. I will update as I come up with new ideas.

---

_[View the full topic](https://discourse.processing.org/t/ideas-and-suggestions-needed-for-improving-p5-js-webgl-mode-in-gsoc-2019/8865)._
