MOS substitution: Difference between revisions
| Line 211: | Line 211: | ||
== MOS substitution scales and RTT == | == MOS substitution scales and RTT == | ||
== Pseudocode == | == Pseudocode == | ||
# brightness is multiplied by the gcd of the | # brightness is multiplied by the gcd of the step counts in UDP | ||
# nX X (nY Y nZ Z) (brightness_of_filling_mos) | (nY + nZ - gcd(nY, nZ) - brightness_of_filling_mos) | # nX X (nY Y nZ Z) (brightness_of_filling_mos) | (nY + nZ - gcd(nY, nZ) - brightness_of_filling_mos) | ||
def mos_subst(nX, nY, nZ, sizeX, sizeY, sizeZ, brightness_of_filling_mos): | def mos_subst(nX, nY, nZ, sizeX, sizeY, sizeZ, brightness_of_filling_mos): | ||