HTML5 is leveraged to provide the highly interactive, rich content and smooth interaction that can only be achieved using this language which in this case, allows thousands of users to swim around in this virtual environment while chatting with each other using HTML5 in a method that gives users a glimpse into what social media may develop into in the future.
We use WebSockets to keep the connection between browser and server alive at all times, this makes it really fast. One tadpole sends at most five updates per second to the server, which in turn broadcasts it to every other tadpole. The WebSocket server is implemented in Ruby with the gloriousEventMachine and em-websocket. HTML files are hosted on Mediatemple and the WebSocket server runs on a Joyent SmartMachine. The virtual pond is drawn with the HTML5 Canvas element.