Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help/rest/morphview.txt
diff options
context:
space:
mode:
authorBernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
committer Bernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
commit1030dc837b10a03a02a85d5504cbeec168ce49e2 (patch)
tree698eefa87ac437deaf36a4141b326f8ce7986692 /help/rest/morphview.txt
Import XaoS r489 (trunk after version 3.5)
Diffstat (limited to 'help/rest/morphview.txt')
-rw-r--r--help/rest/morphview.txt33
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