Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help/rest/morphview.txt
blob: 1493852847b144782c842541019002f9ac2064ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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