This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Sep 03 06:15:05 -0700 2009 | |
| |
LICENSE | Fri Mar 20 06:18:39 -0700 2009 | |
| |
README.rdoc | Sun Nov 01 11:46:21 -0800 2009 | |
| |
Rakefile | Fri Oct 16 16:26:29 -0700 2009 | |
| |
VERSION.yml | Sun Aug 30 11:21:23 -0700 2009 | |
| |
examples/ | Sun Aug 30 11:04:41 -0700 2009 | |
| |
lib/ | Sun Aug 30 11:21:05 -0700 2009 | |
| |
spec/ | Sun Aug 30 10:29:26 -0700 2009 | |
| |
tuio-ruby.gemspec | Sun Aug 30 11:21:05 -0700 2009 |
README.rdoc
A TUIO client for Ruby
INSTALL:
[sudo] gem install tuio-ruby
EXAMPLE:
require File.join( File.dirname( __FILE__ ), '..', 'lib', 'tuio-ruby' )
@tc = TuioClient.new
@tc.on_object_creation do | to |
puts "New TUIO Object at x: #{to.x_pos}, y: #{to.y_pos}"
end
@tc.on_object_update do | to |
puts "Updated TUIO Object #{to.fiducial_id} at x: #{to.x_pos}, y: #{to.y_pos}"
end
@tc.on_object_removal do | to |
puts "Removed TUIO Object #{to.fiducial_id}"
end
@tc.on_cursor_creation do | to |
puts "New TUIO Cursor at x: #{to.x_pos}, y: #{to.y_pos}"
end
@tc.on_cursor_update do | to |
puts "Updated TUIO Cursor #{to.session_id} at x: #{to.x_pos}, y: #{to.y_pos}"
end
@tc.on_cursor_removal do | to |
puts "Removed TUIO Cursor #{to.session_id}"
end
@tc.start
sleep
COPYRIGHT:
Copyright © 2009 Colin Harris. See LICENSE for details.







