FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Tools
(Moderator: REAS)
   Carnivore for Processing
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Carnivore for Processing  (Read 1508 times)
Martin

122417302122417302martingomez_listsmg1ph WWW Email
Carnivore for Processing
« on: Apr 1st, 2004, 7:07pm »

Carnivore Client for Processing is up.
http://rhizome.org/carnivore/
 
You rock Mr. Alex Galloway!
 
bsr

WWW Email
Re: Carnivore for Processing
« Reply #1 on: Apr 1st, 2004, 9:42pm »

fantastic. cant wait to try it....
 

http://hippocamp.net
bsr

WWW Email
Re: Carnivore for Processing
« Reply #2 on: Apr 2nd, 2004, 8:32pm »

here's a quick hack adding a couple of bits to the demo file: http://hippocamp.net/p5/carnivore/carnivore_tasking.zip
 
main loop is:
 
void loop(){
ellipseMode(CENTER_DIAMETER);  
  background(250,250,250);
  fill(30,30,30);
  text("data from Carnivore", 10, 30);
 
  try {  
    packet = packetreader.readLine();   //get the next packet as a string
 //   println(packet);                  //print to debug window
    fill(50,50,50);
    text(packet, 10, 50);  
    String list[] = splitStrings(packet);
    text(list[1], 10, 90);  
    text(list[3], 10, 130);
    int ln = packet.length();
    text("packet size:",10,190);
    text(ln, 100, 190);
    noStroke();
    fill (150, 120, ln/5,40);
    ellipse (width/2,height/2, ln/4, ln/4);
                  
  } catch(IOException e) { println(e); }  
}
 
might give someone a start, is beyond what i can do but it'd be nice if someone wrote something similar to minitasking: http://www.minitasking.com/old written by these data visualisation geniuses: http://www.sw.ofcd.com/
 
(nb. it doesnt seem to run from a browser, runs fine from p5 as long as there are packets to read, if there's no network activity when it's launched it errors out)
« Last Edit: Apr 2nd, 2004, 8:35pm by bsr »  

http://hippocamp.net
Markavian

Markavian+iTX WWW
he: Carnivore for Processing
« Reply #3 on: Apr 20th, 2004, 10:41am »

BSR; How do you get your demo working?
 
I installed the windows software from the carnivore site, but the script needs an included file sim.vlw, which I'm still looking for.
 
Regards,
- Markavian
 
Bijeoma

myloveiloved
Re: Carnivore for Processing
« Reply #4 on: Apr 20th, 2004, 4:20pm »

the code bsr included omits the setup(). .vlw is the extension for processings font format. you can replace sims.vlw with any other font in the setup().
 
http://processing.org/reference/BFont.html
 
bryan
 
bsr

WWW Email
Re: Carnivore for Processing
« Reply #5 on: Apr 26th, 2004, 11:33am »

aye, download the zip and use that, is just a basic little script.
 
edit: just downloaded the zip, you need to put a copy of the font into the data directory of the project.
« Last Edit: Apr 26th, 2004, 11:38am by bsr »  

http://hippocamp.net
Pages: 1 

« Previous topic | Next topic »