Skip to content

Commit

Permalink
README.md: document relative pixel access
Browse files Browse the repository at this point in the history
Signed-off-by: akarin <[email protected]>
  • Loading branch information
AkarinVS committed Jun 30, 2021
1 parent 9681ec3 commit 7962e26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ This works just like [`std.Expr`](http://www.vapoursynth.com/doc/functions/expr.
- (\*) Arbitrarily named temporary variables (modeled after [Forth](https://en.wikipedia.org/wiki/Forth_(programming_language)))
- Pop a value and store to variable `var`: `var!`
- Read a variable `var` and push onto stack: `var@`
- (\*) Static relative pixel access (modeled after [AVS+ Expr](http://avisynth.nl/index.php/Expr#Pixel_addressing))
- Use `x[relX,relY]` to access the pixel (relX, relY) relative to current coordinate, where -width < relX < width and -height < relY < height. Off screen pixels will be cloned from the respective edge. Both relX and relY should be constant.

`akarin.Version()`

Expand Down

0 comments on commit 7962e26

Please sign in to comment.