# Modulo¶

Modulo modes are a special class of blending modes which loop values when the value of the channel blend layer is less than the value of the channel in base layers. All modes in modulo modes retains the absolute of the remainder if the value is greater than the maximum value or the value is less than minimum value. Continuous modes assume if the calculated value before modulo operation is within the range between a odd number to even number, then values are inverted in the end result, so values are perceived to be wave-like.

Furthermore, this would imply that modulo modes are beneficial for abstract art, and manipulation of gradients.

## Divisive Modulo¶

First, the base layer is divided by the sum of blend layer and the minimum possible value after zero. Then, performs a modulo calculation using the value found with the sum of the blend layer and the minimum possible value after zero.

## Divisive Modulo - Continuous¶

First, base layer is divided by the sum of the blend layer and the minimum possible value after zero. Then, performs a modulo calculation using the value found with the sum of the blend layer and the minimum possible value after zero. As this is a continuous mode, anything between odd to even numbers are inverted.

## Modulo¶

Performs a modulo calculation using the sum of the blend layer and the minimum possible value after zero.

## Modulo - Continuous¶

Performs a modulo calculation using the sum of the blend layer and the minimum possible value after zero. As this is a continuous mode, anything between odd to even numbers are inverted.

## Modulo Shift¶

Performs a modulo calculation with the result of the sum of the base and blend layers by the sum of the blend layer with the minimum possible value after zero.

## Modulo Shift - Continuous¶

Performs a modulo calculation with the result of the sum of the base and blend layers by the sum of the blend layer with the minimum possible value after zero. As this is a continuous mode, anything between odd to even numbers are inverted.