Tenderlove Making

New Ruby BetaBrite - 0.0.2

I just released a new version of the ruby BetaBrite sign library. It lets you control BetaBrite signs. You can write text, change the color, fonts, display images, and do a bunch of other stuff.

In celebration of this new release, I created a DRb server that lets you write to my BetaBrite sign and take a photo of it! Here is the code that will write “Seattle.rb” to my server and take a photo:

require 'drb'
require 'rubygems'
require 'betabrite'

obj = DRbObject.new(nil, 'druby://eviladmins.org:9000')

File.open("out.jpg", 'wb') { |a|
  a.write obj.write_simple("Seattle.rb")

Which took this photo:

« go back