title: Exponential Graph Animation P5js Canvas
body: <p>I am trying to animate a growing exponential graph using P5js. 
  I have successfully plotted the graph itself, but the "rulers/scales" on the sides won't work.
  I want the "window" to scale according to the X and Y axis, just like this example: <a href="https://www.wtfskins.com/crash" rel="nofollow noreferrer">Animation</a> <strong>I am trying to replicate this animation</strong></p>
  
  <p>I want the graph to "grow" and the rulers/scales on the sides to represent the growth, X is time and Y the multiplier (big text in the middle). As seen on the animation I linked, X and Y values move towards the origin after the graph has gone outside the box.</p>
  
  <p>Link to P5 editor with code: <a href="https://editor.p5js.org/JonasTheCuriousDev/sketches/BXThmEHN2" rel="nofollow noreferrer">P5 web editor</a></p>