You can press space for a new trail.
I found someone do a similar project, so I tried it out but with a few different things.