UDP Network Established

November 11, 2011 § 1 Comment

After trialling a few different methods of networking in processing, a UDP library was used .

UDP was used over TCP here as it was faster. It was found that any data set should be ideally encoded to minimize errors. However, errors and missed data still persist in UDP (which is something I will have to adjust for).

Here are some screenshots that resulted from drawing the data received in a program by the original multitouch table program, to nice effect.

 ( Drawing boid positions. )

 ( You can see the errors in UDP and hence interpretation of encoded co-ordinate data via the white dots that are stuck at the top of the screen. )

( Showing enemy positions over time as well, getting gobbled up by the boids. )

Advertisements

§ One Response to UDP Network Established

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading UDP Network Established at DECO } Han.

meta