diff options
Diffstat (limited to 'help/rest/morphview.txt')
-rw-r--r-- | help/rest/morphview.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/help/rest/morphview.txt b/help/rest/morphview.txt new file mode 100644 index 0000000..1493852 --- /dev/null +++ b/help/rest/morphview.txt @@ -0,0 +1,33 @@ +.. _morphview: + +.. index:: + pair: command; morphview + +Morph view +========== + +**Syntax**:(morphview float float float float) For the time selected by the +next :ref:`usleep <usleep>` or other timing function, the viewpoint is smoothly +morphed from the current one to that selected by morphview. + +Viewport is selected by the center and two radiuses (real and imaginary). See +:ref:`view <uiview>` for more information. + +This function can easily be used for creating zooming/unzooming animations +using position files. This is an example position file generated by XaoS:: + + (initstate) + (defaultpalette 0) + (formula 'mandel) + (view -1.64128273713 -5.50393226816E-05 9.69332308848E-08 9.69332308834E-08) + +By replacing the view command with morphview and adding usleep you can create a +zooming animation:: + + (initstate) + (defaultpalette 0) + (formula 'mandel) + (morphview -1.64128273713 -5.50393226816E-05 9.69332308848E-08 9.69332308834E-08) + (usleep 10000000) + +**Available as**: command |