base30 to native and svg in Ruby