From 1030dc837b10a03a02a85d5504cbeec168ce49e2 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Mon, 03 May 2010 21:53:47 +0000 Subject: Import XaoS r489 (trunk after version 3.5) --- (limited to 'help/rest/morphview.txt') 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 ` 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 ` 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 -- cgit v0.9.1