I&#x27;ve been building a small game on Piston together with a friend. It&#x27;s in a super early exploratory fase. You can see how we deal with the event loop here:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;tinco&#x2F;super-susano&#x2F;blob&#x2F;master&#x2F;src&#x2F;main.rs#L175" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tinco&#x2F;super-susano&#x2F;blob&#x2F;master&#x2F;src&#x2F;main.r...</a><p>That calls into the draw loop here:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;tinco&#x2F;super-susano&#x2F;blob&#x2F;master&#x2F;src&#x2F;engines&#x2F;graphics.rs#L20" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tinco&#x2F;super-susano&#x2F;blob&#x2F;master&#x2F;src&#x2F;engine...</a>