title: Using p5's functions without the setup/draw format
body: <p>I'm relatively new to Javascript, and i was tinkering around with the <a href="https://p5js.org/" rel="noreferrer">p5</a> library. In Python i can import a single function from a library using the <code>from x import y statement</code>:</p>
  
  <pre><code>from subprocess import check_output
  </code></pre>
  
  <p>My question is, there is a way to do the same thing with p5 without using the <code>setup/draw</code> format? Say, for example, i want to use the <code>noise</code> function in one of my scripts; can i import and use that function only? </p>