# Can I use multiple p5.js on my website..?

**URL:** <https://discourse.processing.org/t/can-i-use-multiple-p5-js-on-my-website/16522>\
**Category:** Coding Questions\
**Created:** [December 19, 2019, 5:41pm UTC](https://discourse.processing.org/t/can-i-use-multiple-p5-js-on-my-website/16522 "2019-12-19T17:41:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [December 22, 2019, 1:43pm UTC](https://discourse.processing.org/t/can-i-use-multiple-p5-js-on-my-website/16522/2 "2019-12-22T13:43:28Z")

</div>

> [@Instance mode creating two canvas](https://discourse.processing.org/t/instance-mode-creating-two-canvas/14121/7):
>
> You could simply use global mode! globe_with_meridians If you need to have more than 1 sketch in the same page you can place the others within their own \<iframe\>. bulb[Bl.ocks.org/GoSubRoutine/raw/60b154e52336f7fee7c5f1fe817ceb22/](http://Bl.ocks.org/GoSubRoutine/raw/60b154e52336f7fee7c5f1fe817ceb22/)

[GoSubRoutine.GitHub.io/Ball-in-the-Chamber](http://GoSubRoutine.GitHub.io/Ball-in-the-Chamber)

> **[GitHub - GoSubRoutine/Ball-in-the-Chamber: JS Native Modules coded in TS...](https://github.com/GoSubRoutine/Ball-in-the-Chamber)**
>
> JS Native Modules coded in TS & CS. Contribute to GoSubRoutine/Ball-in-the-Chamber development by creating an account on GitHub.

---

_[View the full topic](https://discourse.processing.org/t/can-i-use-multiple-p5-js-on-my-website/16522)._
