# Uploading interactive app from processing to website / github?

**URL:** <https://discourse.processing.org/t/uploading-interactive-app-from-processing-to-website-github/39351>\
**Category:** Libraries\
**Created:** [October 19, 2022, 2:28am UTC](https://discourse.processing.org/t/uploading-interactive-app-from-processing-to-website-github/39351 "2022-10-19T02:28:55Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![YueLin](https://avatars.discourse-cdn.com/v4/letter/y/6f9a4e/32.png) [@YueLin](https://discourse.processing.org/u/YueLin)\
**Post date:** [October 22, 2022, 7:32am UTC](https://discourse.processing.org/t/uploading-interactive-app-from-processing-to-website-github/39351/23 "2022-10-22T07:32:59Z")

</div>

Thank you for the suggestion! I think I might just try the zip export [itch.io](http://itch.io) method if p5.js route doesn’t work out 😝

---

<div class="post-metadata">

**Author:** ![YueLin](https://avatars.discourse-cdn.com/v4/letter/y/6f9a4e/32.png) [@YueLin](https://discourse.processing.org/u/YueLin)\
**Post date:** [October 22, 2022, 7:43am UTC](https://discourse.processing.org/t/uploading-interactive-app-from-processing-to-website-github/39351/24 "2022-10-22T07:43:39Z")

</div>

Thank you, it’s great to have some references to compare to!

---

<div class="post-metadata">

**Author:** ![YueLin](https://avatars.discourse-cdn.com/v4/letter/y/6f9a4e/32.png) [@YueLin](https://discourse.processing.org/u/YueLin)\
**Post date:** [October 22, 2022, 8:47am UTC](https://discourse.processing.org/t/uploading-interactive-app-from-processing-to-website-github/39351/25 "2022-10-22T08:47:08Z")

</div>

Right? So often, I google a problem only to discover that similar problems have been answered, but I’m too inexperienced to grasp what the answer in the replies even means, so I have to wander about searching for so long 🥹 . But once I figure it out, it seems so obvious that I can’t believe I wasted so much time looking! I’m thankful for the community’s support.

It’s unfortunate that the code cannot be copied directly, but it’s reassuring that it is still feasible with little effort. And don’t worry, you’ve already been a huge help! 😄 Thank you very much, I’ll research how p5.js works and hopefully, fully integrate all of the components to the web.

---

<div class="post-metadata">

**Author:** ![Chigoz](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Chigoz](https://discourse.processing.org/u/Chigoz)\
**Post date:** [October 22, 2022, 5:24pm UTC](https://discourse.processing.org/t/uploading-interactive-app-from-processing-to-website-github/39351/26 "2022-10-22T17:24:41Z")

</div>

To add more JavaScript files to a sketch.js file in P5.js, you create the Javascript files and then add them in the html file.  
e.g., In your case you should create credits.js and pattern.js files hence you will get script below in your html file.

You can also change the name of the sketch file to your preferred name but make sure that is the name you used in your script tag. See the images below.

 ![Example 2](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/e/c/ec49c45ffb83e763a8983c46bbd16adcd23ee62d.jpeg)

---

<div class="post-metadata">

**Author:** ![Chigoz](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Chigoz](https://discourse.processing.org/u/Chigoz)\
**Post date:** [October 22, 2022, 5:45pm UTC](https://discourse.processing.org/t/uploading-interactive-app-from-processing-to-website-github/39351/27 "2022-10-22T17:45:56Z")

</div>

Your html script should be something like this;

 ![Example 1](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/6/3/637b81485f37836d88ae2de0c3a23683b0a14191.jpeg)

[Previous page](https://discourse.processing.org/t/uploading-interactive-app-from-processing-to-website-github/39351.md?page=1)
