We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Is there a way to export my p5.js code into a windows/macOS application?
I want to showcase my program in a website, but also have it available offline for people who might want it.
Firefox-based browsers can run JS completely offline. \m/
For other browsers, you can create a simple local server to run your sketch: >-) https://GitHub.com/processing/p5.js/wiki/Local-server
@DewDrop - If you really want a runnable, standalone application you can use Electron. I tried it earlier this year and found it remarkably easy :)
Answers
Firefox-based browsers can run JS completely offline. \m/
For other browsers, you can create a simple local server to run your sketch: >-)
https://GitHub.com/processing/p5.js/wiki/Local-server
@DewDrop - If you really want a runnable, standalone application you can use Electron. I tried it earlier this year and found it remarkably easy :)