<blocksapp="Snap! 5.0, http://snap.berkeley.edu"version="1"><block-definitions="id %'arg'"type="reporter"category="operators"><header></header><code></code><translations></translations><inputs><inputtype="%n"></input></inputs><script><blocks="doReport"><blockvar="arg"/></block></script></block-definition><block-definitions="-- %'n'"type="reporter"category="variables"><header></header><code></code><translations></translations><inputs><inputtype="%anyUE"readonly="true"></input></inputs><script><blocks="doRun"><blocks="reifyScript"><script><blocks="doChangeVar"><l></l><l>-1</l></block></script><list></list></block><list><blockvar="n"/></list></block><blocks="doReport"><blocks="evaluate"><blockvar="n"/><list></list></block></block></script></block-definition><block-definitions="animate setter %'setter' getter %'getter' delta %'delta' over %'duration' secs easing %'easing'"type="command"category="control"><header></header><code></code><translations>de:animiere Setter _ Getter _ Delta _ über _ Sek. beschleunigt _
ca:modifica setter _ i getter _ amb delta _ en _ segons de forma _
pt:anima com modificador _ e inspector _ de _ em _ s de forma _
</translations><inputs><inputtype="%cmdRing"></input><inputtype="%repRing"></input><inputtype="%n">50</input><inputtype="%n">1</input><inputtype="%repRing"></input></inputs><script><blocks="doDeclareVariables"><list><l>end time</l><l>destination</l></list></block><blocks="doSetVar"><l>end time</l><blocks="reportSum"><blocks="reportDate"><l><option>time in milliseconds</option></l></block><blocks="reportProduct"><blockvar="duration"/><l>1000</l></block></block></block><blocks="doSetVar"><l>destination</l><blocks="reportSum"><blocks="evaluate"><blockvar="getter"/><list></list></block><blockvar="delta"/></block></block><blocks="doUntil"><blocks="reportGreaterThan"><blocks="reportDate"><l><option>time in milliseconds</option></l></block><blockvar="end time"/></block><script><blocks="doRun"><blockvar="setter"/><list><blocks="reportDifference"><blockvar="destination"/><blocks="reportProduct"><blockvar="delta"/><blocks="evaluate"><blockvar="easing"/><list><blocks="reportQuotient"><blocks="reportDifference"><blockvar="end time"/><blocks="reportDate"><l><option>time in milliseconds</option></l></block></block><blocks="reportProduct"><blockvar="duration"/><l>1000</l></block></block></list></block></block></block></list></block></script></block><blocks="doRun"><blockvar="setter"/><list><blockvar="destination"/></list></block></script></block-definition><block-definitions="PI"type="reporter"category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><blocks="doReport"><l>3.141592653589793</l></block></script></block-definition><block-definitions="degrees %'radians'"type="reporter"category="operators"><header></header><code></code><translations>de:Grad _
ca:graus de _ radians
pt:_ radianos em graus
</translations><inputs><inputtype="%n">0.5</input></inputs><script><blocks="doReport"><blocks="reportQuotient"><blocks="reportProduct"><blockvar="radians"/><l>180</l></block><custom-blocks="PI"></custom-block></block></block></script></block-definition><block-definitions="error %'msg'"type="command"category="control"><header></header><code></code><translations>de:Fehler _
pt:assinala o erro _
</translations><inputs><inputtype="%s"></input></inputs><script><blocks="doRun"><blocks="reportJSFunction"><list><l>msg</l></list><l>throw new Error(msg)</l></block><list><blockvar="msg"/></list></block></script></block-definition><block-definitions="glide %'steps' in %'duration' secs easing %'easing'"type="command"category="motion"><header></header><code></code><translations>de:gleite _ in _ Sek. beschleunigt: _
ca:llisca _ en _ segons de forma _
fr:glisser _ en _ sec. accélérer _
pt:desliza _ em _ s de forma _
</translation