Skip to content

Instantly share code, notes, and snippets.

@ludicast
Last active Aug 29, 2015
Embed
What would you like to do?
<?xml version="1.1"?>
<!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 3.0 Language//EN"
"http://www.w3.org/2008/SMIL30/SMIL30Language.dtd">
<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0" baseProfile="Language">
<head>
<layout>
<root-layout width="150" height="200"/>
<region xml:id="b" left="0" width="150" top="0" height="150" backgroundColor="purple"/>
<region xml:id="t" left="0" width="150" top="150" height="50"/>
</layout>`
</head>
<body>
<par>
<brush xml:id="b1" region="b" dur="15s" color="yellow" top="0" left="0" width="50" height="50"/>
<animateMotion begin="3s" dur="9s" fill="freeze" targetElement="b1" values="0,100;50,100;100,100" calcMode="discrete"/>
<seq>
<text region="t" dur="3s" src="data:,3%20sec%20top-left"/>
<text region="t" dur="3s" src="data:,3%20sec%20bottom-left"/>
<text region="t" dur="3s" src="data:,3%20sec%20bottom-middle"/>
<text region="t" dur="6s" src="data:,6%20sec%20bottom-right"/>
</seq>
</par>
</body>
</smil>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment