The question I have regarding processing is how would I go about managing multiple rendering frames concurrently. For more context, what I am trying to create is a genetic algorithm to play a game which I will create using processing. To speed up the training time of the learning, I want to concurrently run a sketch multiple times, and have each sketch controlled by an agent.
My immediate thought is to simply have an external program execute a sketch multiple times but I am a little worried about how to handle the sketch input in this scenario.
Could anyone please point me in the right direction for how to achieve this?