summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/shaders/util.txt13
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) )
+
+