<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=LayerLoop</id>
	<title>LayerLoop - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=LayerLoop"/>
	<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=LayerLoop&amp;action=history"/>
	<updated>2026-08-24T15:08:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>http://www.avisynth.nl/index.php?title=LayerLoop&amp;diff=934&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=LayerLoop&amp;diff=934&amp;oldid=prev"/>
		<updated>2013-05-09T21:34:45Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here&amp;#039;s a quick function from Dividee to show off the new [[Layer]] and [[Loop]] filters in AviSynth. Don&amp;#039;t put it in your autoload directory since it includes a free function ([[Animate]], see below) and isn&amp;#039;t really a general purpose tool anyway.&lt;br /&gt;
&lt;br /&gt;
    function CIRCLE(clip &amp;quot;baseClip&amp;quot;, clip &amp;quot;movingClip&amp;quot;, float &amp;quot;angle&amp;quot;) &lt;br /&gt;
    {&lt;br /&gt;
        avWidth = (baseClip.width - movingClip.width) / 2 &lt;br /&gt;
        HPos = round(avWidth + cos(angle)*100) &lt;br /&gt;
        VPos = round(avWidth + sin(angle)*100) &lt;br /&gt;
        return baseClip.Layer( movingClip, &amp;quot;Add&amp;quot;, 192, HPos, VPos ) &lt;br /&gt;
    } &lt;br /&gt;
&lt;br /&gt;
    Animate(0, 10000, &amp;quot;CIRCLE&amp;quot;, clip1, clip2, 0, clip1, clip2, PI*20)&lt;br /&gt;
&lt;br /&gt;
Back to [[Shared functions]].&lt;br /&gt;
[[Category:Shared functions]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>