Reference

Table of Contents  ▸  List of Commands  ▸  Input / Output  ▸  display_warp◀  display_tensors    |    echo  ▶

display_warp

Arguments:

Description:

Render selected 2D warping fields.

(equivalent to shortcut command dw).

Default values:

cell_size=15.

Example of use:

$ gmic 400,400,1,2,'x=x-w/2;y=y-h/2;r=sqrt(x*x+y*y);a=atan2(y,x);5*sin(r/10)*[cos(a),sin(a)]' +display_warp 10
Command: 400,400,1,2,'x=x-w/2;y=y-h/2;r=sqrt(x*x+y*y);a=atan2(y,x);5*sin(r/10)*[cos(a),sin(a)]' +display_warp 10
Command: 400,400,1,2,'x=x-w/2;y=y-h/2;r=sqrt(x*x+y*y);a=atan2(y,x);5*sin(r/10)*[cos(a),sin(a)]' +display_warp 10