Module: ImgToScript::Generators

Defined in:
lib/img_to_script/generators.rb,
lib/img_to_script/generators/hex_mask.rb,
lib/img_to_script/generators/generator.rb,
lib/img_to_script/generators/segmental.rb,
lib/img_to_script/generators/hex_mask/default.rb,
lib/img_to_script/generators/hex_mask/enhanced.rb,
lib/img_to_script/generators/hex_mask/hex_mask.rb,
lib/img_to_script/generators/run_length_encoding.rb,
lib/img_to_script/generators/segmental/segmental.rb,
lib/img_to_script/generators/segmental/direct_draw.rb,
lib/img_to_script/generators/segmental/data_read_draw.rb,
lib/img_to_script/generators/segmental/vertical_mixin.rb,
lib/img_to_script/generators/hex_mask/forced_point_move.rb,
lib/img_to_script/generators/segmental/horizontal_mixin.rb,
lib/img_to_script/generators/run_length_encoding/vertical.rb,
lib/img_to_script/generators/run_length_encoding/horizontal.rb,
lib/img_to_script/generators/segmental/direct_draw/vertical.rb,
lib/img_to_script/generators/segmental/direct_draw/horizontal.rb,
lib/img_to_script/generators/segmental/data_read_draw/vertical.rb,
lib/img_to_script/generators/segmental/direct_draw/direct_draw.rb,
lib/img_to_script/generators/segmental/data_read_draw/horizontal.rb,
lib/img_to_script/generators/run_length_encoding/run_length_encoding.rb,
lib/img_to_script/generators/segmental/data_read_draw/data_read_draw.rb

Overview

Namespace for generators.

Generators generate array of abstract tokens that represent the image in terms of simple operations, e.g.: draw a line, draw a pixel, etc.

Defined Under Namespace

Modules: HexMask, RunLengthEncoding, Segmental Classes: Generator

Constant Summary collapse

X_LBL =
:x
Y_LBL =
:y
LOOP_VAR =
:i
READ_VAR =
:l
WAIT_LOOP_COUNT =
100
WAIT_TIME =
1024
X_OFFSET =
0
Y_OFFSET =
0
CLEAR_SCREEN =
true
PAUSE_PROGRAM =
true
PRORGAM_BEGIN_LBL =
false
PROGRAM_END_LBL =
false