I need to visualize the output of my C program as a agent-based applet.
I have a program written in C, which is basically an agent-based model. Agents are located in the network, play a prisoner's dilemma with their neighbors, and can eliminate connections and add new ones, depending on whether they are happy in their neighborhoods.
What I need is to visualize this dynamics in an applet (not just the final configuration, but also the temporal changes). For example, attributing colors to my agents, I want to see the patterns of the behavior on a network.
I am not an advanced programmer, so I do not have a lot of knowledge about this. Is there any way to do it? Please, help me.