Guide:Chromatic Aberration (typesetting)

Chromatic Aberration is a stylistic effect that mimics the failure of a lens to properly focus all colors. The gist of the effect is a distortion between the color planes (often red and green) that causes an unfocused look. For anime, it is often used on digital screens, but can be present anywhere.

Steps

 * 1) Copy the luainterpret snippet from the Github repository: ChromaticAberration.lua
 * 2) Select all the lines you desire to apply the effect to.
 * 3) Open  and paste the script that you copied in the first step. Notice the lines "-- adjust these to taste" and "-- don't touch below this point". These delimit the area of the snippet you are supposed to make adjustments to. They are as follows:
 * : It's the width offset value for the effect, in other words, how much it shifts to the left and right.
 * : Same as above, but instead for the height/top and bottom. More often than not this should be at 0.
 * : This will be the left color of the effect. It is by default set as "bright green," but it should be changed to suit your needs. Ideally, this should be a greenish color.
 * : Same as above, but for the right side and it's by default set as "dark reddish." Ideally, this should be a reddish color. (Note that the color for this and the previous variable can be swapped if needed)
 * : This is the transparency for the effect. To not use any transparency set it to nil.
 * 1) After that's all done, you can save the snippet (recommended, for easier usage) by clicking on Save, and then on Run to execute the script. It will likely take a couple of tries and further adjustments to get the effect right. For future usages, just select it under presents and click on Load.