561
edits
(→'gradients' section: initial explanation of the gradients section) |
(→'gradients' section: got rid of some braces) |
||
Line 360: | Line 360: | ||
return lastLineColor | return lastLineColor | ||
return firstLineColor + | return firstLineColor + (lastLineColor - firstLineColor) * currentLine / maxLineNumber | ||
Of course that's somewhat simplified. Now we come to some examples: | Of course that's somewhat simplified. Now we come to some examples: |
edits