title: Function to generate randomly incrementing number over time
body: <p>I'm trying to make a fake <code>download count</code>. It should increment randomly over time. Some download-count-like patterns would be nice.</p>
  
  <p>Is this possible without using a database, or storing a counter anywhere?</p>
  
  <p>My idea is to check the number of seconds that have passed since my app was released. Then just throw that into a formula which spits out the fake download count. Users can request to see the download count at any time.</p>
  
  <p>Is there a math function that increments randomly? I could just pass my <code>secondsPassed</code> into there and scale it how I'd like.</p>
  
  <p>Something like this: <code>getDownloadCount(secondsPassed)</code></p>
  
  <p><img src="https://i.stack.imgur.com/fJVaI.png" alt="enter image description here"></p>
  
  <p>Edit: here's an example solution. But it gets worse performance over time.</p>
  
  <pre><code>downloadCount = 0
  loop secondsPassed/60 times // Loop one more time for every minute passed
    downloadCount += seededRandom(0, 10)
  </code></pre>