title: p5.js how to freeze canvas?
body: <p>I try to do something like that :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function setup() {
    createCanvas(500, 250);
    //frameRate(1);
  }
  
  function draw() {
    background(50, 50, 150);
    
    translate(10, 10);
    for (let i = 0; i &lt; 30; i++) {
      rect(i*15, 0, 10, random(30, 120));
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.11/p5.min.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>But i want to "freeze" this canvas, so if i load the page i will have 30 rect() at a random height between 30 and 120.</p>