From 17f2644e3d885c8aef170023c84933e5bd888402 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 10 May 2016 15:58:52 -0400 Subject: more convenient canvas.get syntax.. --- doc/shaders/util.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc/shaders') 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) ) + + -- cgit v1.2.3-70-g09d2