1

I implemented a program to simulate flocking behaviour of birds in processing, however i would like to analyse the scale free behaviour of the simulation. For that reason i would need to plot a graph for the analysis. I don't have a problem plotting the graph. My problem is with getting the values i need from the simulation and using them as input for my graph which is a different Processing program all together.

Thank you for any ideas or thoughts.

3
  • Crossposted: javaprogrammingforums.com/whats-wrong-my-code/… Commented Jul 29, 2014 at 13:02
  • 1
    Do you want 2 windows whit 2 different Processing sketches working at once? Commented Jul 29, 2014 at 20:20
  • Yes sort of, but not completely independent such that i can use the output of sketch A as input for sketch B. thanks Commented Jul 29, 2014 at 23:16

1 Answer 1

-1

Processing is just a Java library. You can embed a Processing sketch (or multiple sketches) inside a Java program, which is probably what you'd want to do here.

More info here, or just try googling "Processing eclipse" or "embedding Processing sketch in Java".

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.