Quickest way is to create each video with multiple repeats rendered in one file, enough to cover a worst case scenario. Queue these in a playlist in VLC, Potplayer ...etc and manually advance as necessary.
You may also want to look at VJvideo jockey (VJ) apps like LiVES. Since those are meant for interactive video manipulation and playback, they may have this functionality.