Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help/rest/morphangle.txt
blob: fdbccd2ab8a5a0cde8f66da5ff3ee137e10e29da (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
.. _morphangle:

.. index::
   pair: command; morphangle

Morph angle
===========

**Syntax**:(morphangle float) Smoothly rotate the image to another angle. By
default rotation causes recalculation of the whole screen. To avoid this you
need to enable :ref:`fast rotate mode <rotate>`. Don't forget to disable it
later, since it slows down other animations.

A simple "rotozooming" animation::

	(initstate) 
	(fastrotate #t) 
	(morphview -1.64128273713 -5.50393226816E-05 9.69332308848E-08 9.69332308834E-08) 
	(morphangle 300) 
	(usleep 10000000) 
	(wait)
	(fastrotate #f)

**Available as**: command