ghowl and hypermedia

edited March 2015 in Library Questions

I want to send the points in SOM on Processing to Grasshopper. original code is here http://www.openprocessing.org/sketch/35030 . I have installed the hypermedia library, however I cannot pick the message to send. Is hypermedia only works with toxiclips? in ghowl example there is a method like (example files can be found on http://www.grasshopper3d.com/group/ghowl ):

void sendMessage(){
  message = "";
  for(VerletParticle2D p: physics.particles){
  message = message + p + ",";
  }
  udps.send( message, ip, port );
  println(message);
}

What I should write in 'for' paranthesis? I try to write

for(Fly swarm: ?????).

Thanks by now.

Tagged:

Answers

Sign In or Register to comment.