Module: Ocarina

Defined in:
lib/ocarina.rb,
lib/ocarina/util.rb,
lib/ocarina/config.rb,
lib/ocarina/network.rb,
lib/ocarina/version.rb,
lib/ocarina/error_stats.rb,
lib/ocarina/character_generator.rb,
lib/ocarina/letterpress_cropper.rb,
lib/ocarina/letterpress_character_generator.rb

Defined Under Namespace

Modules: Util Classes: CharacterGenerator, Config, ErrorStats, LetterpressCharacterGenerator, LetterpressCropper, Network

Constant Summary collapse

DATA_DIR =
"#{File.dirname(__FILE__)}/../../data"
IMAGES_DIR =
"#{DATA_DIR}/images"
VERSION =
"0.0.1"
LETTERPRESS_TILES_ACROSS =
5
LETTERPRESS_TILES_DOWN =
5
LETTERPRESS_TILE_PIXELS =
128
LETTERPRESS_HEIGHT_OFFSET =
496
LETTERPRESS_EXPECTED_WIDTH =
LETTERPRESS_TILES_ACROSS * LETTERPRESS_TILE_PIXELS
LETTERPRESS_EXPECTED_HEIGHT =
1136