Module:MOS mode degrees: Difference between revisions
m a variable name |
m Added skeleton code for simplified cell color function |
||
| Line 549: | Line 549: | ||
return row_colors | return row_colors | ||
end | |||
-- A simplified version of calculate_row_colors | |||
-- Finds the row color for a single cell | |||
function p.cell_color(interval, input_mos) | |||
end | end | ||
| Line 560: | Line 566: | ||
-- Get the modes as strings | -- Get the modes as strings | ||
local step_patterns = mos.modes_by_brightness(input_mos) | local step_patterns = mos.modes_by_brightness(input_mos) | ||
-- Get the scale sig | -- Get the scale sig | ||
local scale_sig = mos.as_string(input_mos) | local scale_sig = mos.as_string(input_mos) | ||
-- Get the brightness and rotational orderings | -- Get the brightness (UDP) and rotational orderings | ||
local brightness_order = p.calculate_mos_mode_brightness_order(input_mos) | local brightness_order = p.calculate_mos_mode_brightness_order(input_mos) | ||
local rotational_order = p.calculate_mos_mode_rotational_order(input_mos) | local rotational_order = p.calculate_mos_mode_rotational_order(input_mos) | ||