title: How to draw on a single buffer for generative art purposes
body: <p>I'm actually facing a issue I can't solve by myself, using <strong>SFML</strong> I have a single shape, and I'm moving it at <strong>each frame</strong>, and then I draw it. The problem is, SFML using two buffers, the trail won't be the same on each buffer (frame) and it will give a weird blinking effect.</p>
  
  <p>I need your knowledge, should I find another way of doing it, like an array of shapes that I'll extend. Or is there a way to skip the second buffer? Making this buffer a piece of paper, and my shape the brush.</p>
  
  <pre><code>sf::CircleShape circle;
  //Init the circle (radius etc)
  sf::Vector2f pos(0, 500);
  
  while(!done)
  {
    pos.x += 1;
    circle.setPosition(pos);
    window.draw(circle);
    window.display();
  }
  </code></pre>
  
  <p>May you spend a nice day.</p>