Fun with sockets and processing js