diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-05-10 15:58:52 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-05-10 15:58:52 -0400 |
| commit | 17f2644e3d885c8aef170023c84933e5bd888402 (patch) | |
| tree | 38502ca528d14605f202e49b22ec6dedf1580d34 /doc | |
| parent | 130a69fbfdf83c1e47344942b35abc094778109e (diff) | |
more convenient canvas.get syntax..
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/shaders/util.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/shaders/util.txt b/doc/shaders/util.txt index d192652..a455eb3 100644 --- a/doc/shaders/util.txt +++ b/doc/shaders/util.txt @@ -23,3 +23,16 @@ Tip: Set to "animate brush", then use option+shift (alt+shift) to copy color from the canvas. Brush will have the "shape" of the copied color only. Can be a cool effect when used with fg/bg only. + + +>> copy color from canvas at x/y + +lex.assign( canvas.get(x,y) ) + + + +>> animate canvas up and to the left.. + +lex.assign( canvas.get(x+1,y+1) ) + + |
