p5.js manually call setup and draw
<p>I am making an online game with p5.js and I would like to manually call setup, and once setup is called I want draw() to run.</p>

<p>For example, if I click a button:</p>

<pre><code>&lt;button id="somebutton" onclick="setup()"&gt;CLICK ME!!!&lt;/button&gt;
</code></pre>

<p>Then the canvas will be created and all of the stuff in setup will be run and draw() will run.</p>