<snapdata remixID="12262571"><project name="3d rocket simulator" app="Snap! 8.1, https://snap.berkeley.edu" version="2"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAABa5JREFUeF7tnT1O9EgQhj0iJyTYzVa7NyDnDkhwio04y54CJO7ABbjASpttQAIhGf40I3nU01P94/bYr939IH3SB3Z3db31UK6usc2u7/u+4wsFRArsAFCkPGYPCgAgIEgVAECp/BgHQBiQKgCAUvkxDoAwIFUAAKXyYxwAYUCqAABK5cc4AMKAVAEAlMqPcQCEAakCACiVH+MACANSBQBQKj/GARAGpAoAoFR+jAMgDEgVAECp/BgHQBiQKgCAUvkxDoAwIFUAAKXyYxwAYUCqAABK5cc4AMKAVAEAlMqPcQCEAakCACiVH+MACANSBQBQKj/GARAGpAoAoFR+jAMgDEgVAECp/BgHQBiQKgCAUvkxDoAwIFUAAKXyYxwAYUCqAABK5cc4AMKAVAEAlMqPcQCEAakCACiVH+MACANSBQBQKj/GARAGpAoAoFR+jAMgDEgVAECp/BgHQBiQKgCAUvkxDoAwIFUAAKXyYxwACxh4enrqPj8/u6+vr8M/9//f39/BGW9ubrqPj48Ci/UOAcCC2P7x984c9d8/vfnzq6urA6jX19cF1uoeAoAF8c0F8P7+vnt9fS2w0M4QACyIdQzAn5+f7v39vbu9ve3e3t66u7u7AgvtDAHAgljnZMDdbtf1vX1JLjBZ7RAALAitD6Bf+wFfvqgAmK/V8cwBQGvT8fLy0j08PBTM2uYQACyI+/Pzsznq8fGxYLa2hwBg2/GXe7/7s/+t/7f7/7iQv7rfO/f71Ar35++/xoyx5kzZHY5b58XGpuZN+cfxeRU4ZMABosHUHiY34DHAcgLsQmrZKnHRt+vOO/wyWD8rscWY+RQ4AXAAzwIuleliQORmyBDM1tyxte7tAd980FxyZlkNmJM5L+koc61TgUMNmJuhXBdSGXGquzkZjNpvqsr68cdNiF+nuXWUtcHIyWA5tV9sc5GzWaH200M0ZQUnGdDfIPgT54B4qU1GzKlY9s3JnFMEY+xlFUjWgDmZbsySLj3fGNucuz4FkgCOXXIKMPp4YxWt+/yzGnBw168BYy0SfxNjXcr9ZndsDH28uqFzvTvWgBZ47ol+/Zeqw2KfjOQ0uanl2oAweQlOXVLbkAkv51LgrA/oZ7ZQpgPMuULS1rwnNaD7GfAgQ+hyGerf+efHakqrzbNEG6etEK/b27ObEWIQ7l2ZCojV8PazKdl13dBccnXJGnCqMWCaqmDd45MAhrITYNUNxlLendWAbu039OrG9ACXWjh26lAg2Ad03Utlu9TxOqTCizkUOF6CgWgOeZkzpcDZMyGhAX7bJfR9yiDHUcBVIAig1YDOgXCoG5EZBXIUCG5CrME5AFp9xJyFcE6bCiTbMG3KgtdLKVD8TMhSC8RO3Qqc7YJju2H3WOp2qdjtWnVLindjFDAvwakNyGAg9Rzx1LcljHGEc7epwOQakP7hNgO/llVn14D0/dYSsrrWYT4XHGvB7I+F7gWsSxq8WUIB86GkUO1GFlwiJG3ZmFwDtiUX3l5aAfPNCFPeF3jpBTJf3QqcZEAeQKo72Gv0zmxE7xdKFlxjuOpbEzVgfTHdlEcnd0RP+eQi9PjmptRgsYsrkLwEj3kMk/7g4vHbvMETAAdvUu9fdpvRrgLcgLB5HhZ3gBpwcckx6CqQfDtWzluuYhkx9akK4WhbgWAGzKnnrIfWrRaOe2kfYPV/1nYY2vU+ejOCtQGJ7XZzdsKpG1nbDUWbnidrQO73axOMpbxOvh/QWoh/a7719lRqv6VCuG07wT9WmPtsiFvTWe+BdmtCLr/bhmWO1UefCfH7gqH+ILXfHKFpY87kLrgNGfBSpUDWMyHUfKrw1G8369Uc9PvqB0HlYdEfrKbmU4WrPru8H7C+mG7Ko2QjevDGugzzJqxNxXqVizX7gFbvLgYbt2GtMrabWFTWLjiUBX0P+dhuEzFf1SJ/AZoY3cZmPIpiAAAAAElFTkSuQmCC</thumbnail><scenes select="1"><scene name="3d rocket simulator"><notes></notes><palette><category name="Vectors" color="149,144,255,1"/><category name="Physics" color="190,255,218,1"/><category name="3D Cameras" color="122,169,0,1"/></palette><hidden></hidden><headers></headers><code></code><blocks><block-definition s="&lt; %&apos;x&apos; &gt;" type="reporter" category="Vectors"><header></header><code></code><translations></translations><inputs><input type="%mult%n"></input></inputs><script><block s="doReport"><block var="x"/></block></script></block-definition><block-definition s="cross %&apos;x&apos; %&apos;y&apos;" type="reporter" category="Vectors"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input></inputs><script><block s="doIf"><block s="reportEquals"><block s="reportListAttribute"><l><option>length</option></l><block var="x"/></block><l>2</l></block><script><block s="doReport"><custom-block s="dot %l %l"><block var="x"/><block s="reportListAttribute"><l><option>reverse</option></l><block var="y"/></block></custom-block></block></script></block><block s="doReport"><custom-block s="&lt; %mult%n &gt;"><list><block s="reportDifference"><block s="reportVariadicProduct"><list><block s="reportListItem"><l>2</l><block var="x"/></block><block s="reportListItem"><l>3</l><block var="x"/></block></list></block><block s="reportVariadicProduct"><list><block s="reportListItem"><l>3</l><block var="x"/></block><block s="reportListItem"><l>2</l><block var="x"/></block></list></block></block><block s="reportDifference"><block s="reportVariadicProduct"><list><block s="reportListItem"><l>3</l><block var="x"/></block><block s="reportListItem"><l>1</l><block var="x"/></block></list></block><block s="reportVariadicProduct"><list><block s="reportListItem"><l>1</l><block var="x"/></block><block s="reportListItem"><l>3</l><block var="x"/></block></list></block></block><block s="reportDifference"><block s="reportVariadicProduct"><list><block s="reportListItem"><l>1</l><block var="x"/></block><block s="reportListItem"><l>2</l><block var="x"/></block></list></block><block s="reportVariadicProduct"><list><block s="reportListItem"><l>2</l><block var="x"/></block><block s="reportListItem"><l>1</l><block var="x"/></block></list></block></block></list></custom-block></block></script></block-definition><block-definition s="safely try %&apos;action&apos; then if %&apos;error&apos; %&apos;handler&apos;" type="command" category="control"><comment x="0" y="0" w="276" collapsed="false">Catch errors.&#xD;&#xD;Runs the first script.  If it succeeds, nothing else happens.&#xD;But if it has an error (something that would otherwise result&#xD;in a red halo around the block), then the second script is run,&#xD;with the text of the error message that would have been shown in the variable ERROR.</comment><header></header><code></code><translations>pt:tenta executar _ e, em caso de erro _ , executa _&#xD;ca:prova de forma segura _ i si _ _&#xD;</translations><inputs><input type="%cs"></input><input type="%upvar"></input><input type="%cs"></input></inputs><script><block s="doApplyExtension"><l>err_try(cmd, catch, err)</l><list><block var="action"/><block var="handler"/><block var="error"/></list></block><block s="doApplyExtension"><l>err_reset</l><list></list></block></script></block-definition><block-definition s="error %&apos;msg&apos;" type="command" category="control"><comment x="0" y="0" w="268.6666666666667" collapsed="false">Throw an error.&#xD;&#xD;Makes a red halo appear around the script that runs it,&#xD;with the input text shown in a speech balloon next to&#xD;the script, just like any Snap! error.&#xD;&#xD;This is useful to put in the second script of SAFELY TRY&#xD;after some other instructions to undo the partial work of&#xD;the first script.</comment><header></header><code></code><translations>pt:lança o erro _&#xD;</translations><inputs><input type="%txt"></input></inputs><script><block s="doApplyExtension"><l>err_error(msg)</l><list><block var="msg"/></list></block></script></block-definition><block-definition s="safely try reporting %&apos;this&apos; then if %&apos;error&apos; report %&apos;that&apos;" type="reporter" category="control"><comment x="0" y="0" w="316.6666666666667" collapsed="false">Catch errors in a reporter.&#xD;&#xD;Evaluates its first input.  If that expression successfully reports a value, this block reports that value.  If the expression causes a Snap! error,&#xD;then the final input slot is evaluated with the text of what would have&#xD;been the error message in variable ERROR.  SAFELY TRY then reports the value of that final expression.&#xD;&#xD;Sometimes you&apos;ll want to throw an error in the final expression.  You&#xD;can put an ERROR block inside a CALL block to do that.</comment><header></header><code></code><translations>ca:prova de forma segura reportant _ i si _ reportant _&#xD;</translations><inputs><input type="%anyUE"></input><input type="%upvar"></input><input type="%anyUE"></input></inputs><script><block s="doDeclareVariables"><list><l>value</l></list></block><custom-block s="safely try %cs then if %upvar %cs"><script><block s="doSetVar"><l>value</l><block s="evaluate"><block var="this"/><list></list></block></block></script><l>err</l><script><block s="doSetVar"><l>error</l><block var="err"/></block><block s="doSetVar"><l>value</l><block s="evaluate"><block var="that"/><list></list></block></block></script></custom-block><block s="doReport"><block var="value"/></block></script></block-definition><block-definition s="norm %&apos;x&apos;" type="reporter" category="Vectors"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportQuotient"><block var="x"/><custom-block s="mag %l"><block var="x"/></custom-block></block></block></script></block-definition><block-definition s="%&apos;x&apos; change of i hat %&apos;i&apos;" type="reporter" category="Vectors"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input></inputs><script><block s="doReport"><custom-block s="&lt; %mult%n &gt;"><list><custom-block s="dot %l %l"><block var="x"/><block var="i"/></custom-block><custom-block s="dot %l %l"><block var="x"/><custom-block s="rot90 %l"><block var="i"/></custom-block></custom-block></list></custom-block></block></script></block-definition><block-definition s="rot90 %&apos;x&apos;" type="reporter" category="Vectors"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><custom-block s="&lt; %mult%n &gt;"><list><block s="reportDifference"><l>0</l><block s="reportListItem"><l>2</l><block var="x"/></block></block><block s="reportListItem"><l>1</l><block var="x"/></block></list></custom-block></block></script></block-definition><block-definition s="%&apos;x&apos; . %&apos;y&apos;" type="reporter" category="Vectors"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%s" readonly="true"><options>x&#xD;y&#xD;z</options></input></inputs><script><block s="doReport"><block s="reportListItem"><block s="reportListItem"><block var="y"/><block s="reportNewList"><list><block s="reportNewList"><list><l>x</l><l>1</l></list></block><block s="reportNewList"><list><l>y</l><l>2</l></list></block><block s="reportNewList"><list><l>z</l><l>3</l></list></block></list></block></block><block var="x"/></block></block></script></block-definition><block-definition s="new physics object $nl pos %&apos;x&apos; $nl mass %&apos;y&apos;" type="reporter" category="Physics"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%n"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportNewList"><list><l>pos</l><block var="x"/></list></block><block s="reportNewList"><list><l>vel</l><block s="reportReshape"><block s="reportNewList"><list><l>0</l></list></block><list><block s="reportListAttribute"><l><option>length</option></l><block var="x"/></block></list></block></list></block><block s="reportNewList"><list><l>mass</l><block var="y"/></list></block></list></block></block></script></block-definition><block-definition s="%&apos;x&apos; . %&apos;y&apos; = %&apos;z&apos;" type="command" category="Physics"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%txt"></input><input type="%s"></input></inputs><script><block s="doReplaceInList"><block var="y"/><block var="x"/><block var="z"/></block></script></block-definition><block-definition s="update %&apos;x&apos;" type="command" category="Physics"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><custom-block s="%l . %txt = %s"><block var="x"/><l>pos</l><block s="reportVariadicSum"><list><custom-block s="%l . %txt"><block var="x"/><l>pos</l></custom-block><custom-block s="%l . %txt"><block var="x"/><l>vel</l></custom-block></list></block></custom-block></script></block-definition><block-definition s="framerate limit %&apos;x&apos;" type="command" category="Physics"><variables><list struct="atomic" id="299">t</list></variables><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doWaitUntil"><block s="reportGreaterThan"><block s="reportDifference"><block s="reportDate"><l><option>time in milliseconds</option></l></block><block var="t"/></block><block s="reportQuotient"><l>1000</l><block var="x"/></block></block></block><block s="doSetVar"><l>t</l><block s="reportDate"><l><option>time in milliseconds</option></l></block></block></script></block-definition><block-definition s="apply force %&apos;x&apos; to %&apos;y&apos;" type="command" category="Physics"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input></inputs><script><custom-block s="%l . %txt = %s"><block var="y"/><l>vel</l><block s="reportVariadicSum"><list><custom-block s="%l . %txt"><block var="y"/><l>vel</l></custom-block><block s="reportQuotient"><block var="x"/><custom-block s="%l . %txt"><block var="y"/><l>mass</l></custom-block></block></list></block></custom-block></script></block-definition><block-definition s="heading %&apos;x&apos;" type="reporter" category="Vectors"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportAtan2"><custom-block s="%l . %s"><block var="x"/><l>x</l></custom-block><custom-block s="%l . %s"><block var="x"/><l>y</l></custom-block></block></block></script></block-definition><block-definition s="%&apos;z&apos; air %&apos;x&apos; friction %&apos;y&apos; density %&apos;w&apos; surface %&apos;f&apos;" type="command" category="Physics"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input><input type="%n"></input><input type="%n"></input><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>v</l><l>a</l></list></block><block s="doSetVar"><l>v</l><block s="reportDifference"><custom-block s="%l . %txt"><block var="z"/><l>vel</l></custom-block><block var="x"/></block></block><block s="doSetVar"><l>a</l><custom-block s="dot %l %l"><block var="f"/><block var="v"/></custom-block></block><custom-block s="apply force %l to %l"><block s="reportVariadicProduct"><list><l>0.5</l><block var="a"/><block var="v"/><block var="w"/><block var="y"/></list></block><block var="z"/></custom-block></script></block-definition><block-definition s="%&apos;y&apos; newtonian gravity %&apos;x&apos; gravity %&apos;g&apos;" type="command" category="Physics"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input><input type="%n"></input></inputs><script><block s="doDeclareVariables"><list><l>force</l></list></block><block s="doSetVar"><l>force</l><block s="reportQuotient"><block s="reportVariadicProduct"><list><block var="g"/><custom-block s="%l . %txt"><block var="y"/><l>mass</l></custom-block><custom-block s="%l . %txt"><block var="x"/><l>mass</l></custom-block></list></block><custom-block s="sqMag %l"><block s="reportDifference"><custom-block s="%l . %txt"><block var="y"/><l>pos</l></custom-block><custom-block s="%l . %txt"><block var="x"/><l>pos</l></custom-block></block></custom-block></block></block><custom-block s="apply force %l to %l"><block s="reportVariadicProduct"><list><block var="force"/><custom-block s="norm %l"><block s="reportDifference"><custom-block s="%l . %txt"><block var="x"/><l>pos</l></custom-block><custom-block s="%l . %txt"><block var="y"/><l>pos</l></custom-block></block></custom-block></list></block><block var="y"/></custom-block></script></block-definition><block-definition s="%&apos;x&apos; collide with line %&apos;y&apos; (2d only)" type="command" category="Physics"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input></inputs><script><custom-block s="%l . %txt = %s"><block var="x"/><l>vel</l><block s="evaluate"><block s="reifyReporter"><autolambda><block s="reportNewList"><list><custom-block s="constrain %n %n %n"><block s="reportListItem"><l>1</l><l/></block><l>0</l><block s="reportQuotient"><l>1</l><l>0</l></block></custom-block><block s="reportListItem"><l>2</l><l/></block></list></block></autolambda><list></list></block><list><custom-block s="%l change of i hat %l"><custom-block s="%l . %txt"><block var="x"/><l>vel</l></custom-block><block var="y"/></custom-block></list></block></custom-block></script></block-definition><block-definition s="constrain %&apos;x&apos; %&apos;y&apos; %&apos;z&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="doReport"><block s="reportIfElse"><block s="reportLessThan"><block var="x"/><block var="y"/></block><block var="y"/><block s="reportIfElse"><block s="reportGreaterThan"><block var="x"/><block var="z"/></block><block var="z"/><block var="x"/></block></block></block></script></block-definition><block-definition s="%&apos;z&apos; air %&apos;x&apos; lift %&apos;y&apos; density %&apos;w&apos; surface %&apos;f&apos; (2d only)" type="command" category="Physics"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input><input type="%n"></input><input type="%n"></input><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>v</l><l>a</l></list></block><block s="doSetVar"><l>v</l><block s="reportDifference"><custom-block s="%l . %txt"><block var="z"/><l>vel</l></custom-block><block var="x"/></block></block><block s="doSetVar"><l>a</l><custom-block s="dot %l %l"><custom-block s="rot90 %l"><block var="f"/></custom-block><block var="v"/></custom-block></block><custom-block s="apply force %l to %l"><block s="reportVariadicProduct"><list><l>0.5</l><block var="a"/><custom-block s="rot90 %l"><block var="v"/></custom-block><block var="w"/><block var="y"/></list></block><block var="z"/></custom-block></script></block-definition><block-definition s="new camera %&apos;x&apos; %&apos;y&apos;" type="reporter" category="3D Cameras"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportNewList"><list><l>pos</l><block var="x"/></list></block><block s="reportNewList"><list><l>ang</l><block var="y"/></list></block></list></block></block></script></block-definition><block-definition s="%&apos;x&apos; bind to %&apos;y&apos; with offset %&apos;z&apos;" type="command" category="3D Cameras"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input><input type="%l"></input></inputs><script><custom-block s="%l . %txt = %s"><block var="x"/><l>pos</l><block s="reportVariadicSum"><list><custom-block s="%l . %txt"><block var="y"/><l>pos</l></custom-block><block var="z"/></list></block></custom-block></script></block-definition><block-definition s="camera %&apos;x&apos; move with mouse" type="command" category="3D Cameras"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><custom-block s="%l . %txt = %s"><block var="x"/><l>ang</l><block s="reportListAttribute"><l><option>reverse</option></l><block s="reportMousePosition"></block></block></custom-block></script></block-definition><block-definition s="%&apos;x&apos; goto %&apos;y&apos;" type="command" category="3D Cameras"><comment x="0" y="0" w="90" collapsed="false">too lazy to use matrices</comment><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>a</l></list></block><block s="doSetVar"><l>a</l><block s="reportDifference"><block var="y"/><custom-block s="%l . %txt"><block var="x"/><l>pos</l></custom-block></block></block><block s="doSetVar"><l>a</l><custom-block s="rotate %l by pitch %n yaw %n"><block var="a"/><custom-block s="%l . %s"><custom-block s="%l . %txt"><block var="x"/><l>ang</l></custom-block><l>x</l></custom-block><custom-block s="%l . %s"><custom-block s="%l . %txt"><block var="x"/><l>ang</l></custom-block><l>y</l></custom-block></custom-block></block><block s="doGotoObject"><block s="reportListItem"><block s="reportNumbers"><l>1</l><l>2</l></block><block var="a"/></block></block></script></block-definition><block-definition s="%&apos;cam&apos; draw rocket on %&apos;x&apos; rotated %&apos;y&apos;" type="command" category="pen"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input><input type="%l"></input></inputs><script><block s="doForEach"><l>item</l><block s="reportNewList"><list><custom-block s="&lt; %mult%n &gt;"><list><l>10</l><l>0</l><l>10</l></list></custom-block><custom-block s="&lt; %mult%n &gt;"><list><l>-10</l><l>0</l><l>10</l></list></custom-block><custom-block s="&lt; %mult%n &gt;"><list><l>-10</l><l>0</l><l>-10</l></list></custom-block><custom-block s="&lt; %mult%n &gt;"><list><l>10</l><l>0</l><l>-10</l></list></custom-block></list></block><script><block s="up"></block><custom-block s="%l goto %l"><block var="cam"/><block s="reportVariadicSum"><list><block var="x"/><custom-block s="rotate %l by pitch %n yaw %n"><custom-block s="&lt; %mult%n &gt;"><list><l>0</l><block s="reportQuotient"><block var="dry weight"/><l>2</l></block><l>0</l></list></custom-block><custom-block s="%l . %s"><block var="y"/><l>x</l></custom-block><custom-block s="%l . %s"><block var="y"/><l>y</l></custom-block></custom-block></list></block></custom-block><block s="down"></block><custom-block s="%l goto %l"><block var="cam"/><block s="reportVariadicSum"><list><block var="x"/><custom-block s="rotate %l by pitch %n yaw %n"><block var="item"/><custom-block s="%l . %s"><block var="y"/><l>x</l></custom-block><custom-block s="%l . %s"><block var="y"/><l>y</l></custom-block></custom-block></list></block></custom-block></script></block><block s="up"></block><custom-block s="%l goto %l"><block var="cam"/><block s="reportVariadicSum"><list><block var="x"/><custom-block s="rotate %l by pitch %n yaw %n"><custom-block s="&lt; %mult%n &gt;"><list><l>10</l><l>0</l><l>10</l></list></custom-block><custom-block s="%l . %s"><block var="y"/><l>x</l></custom-block><custom-block s="%l . %s"><block var="y"/><l>y</l></custom-block></custom-block></list></block></custom-block><block s="down"></block><custom-block s="%l goto %l"><block var="cam"/><block s="reportVariadicSum"><list><block var="x"/><custom-block s="rotate %l by pitch %n yaw %n"><custom-block s="&lt; %mult%n &gt;"><list><l>-10</l><l>0</l><l>10</l></list></custom-block><custom-block s="%l . %s"><block var="y"/><l>x</l></custom-block><custom-block s="%l . %s"><block var="y"/><l>y</l></custom-block></custom-block></list></block></custom-block><custom-block s="%l goto %l"><block var="cam"/><block s="reportVariadicSum"><list><block var="x"/><custom-block s="rotate %l by pitch %n yaw %n"><custom-block s="&lt; %mult%n &gt;"><list><l>-10</l><l>0</l><l>-10</l></list></custom-block><custom-block s="%l . %s"><block var="y"/><l>x</l></custom-block><custom-block s="%l . %s"><block var="y"/><l>y</l></custom-block></custom-block></list></block></custom-block><custom-block s="%l goto %l"><block var="cam"/><block s="reportVariadicSum"><list><block var="x"/><custom-block s="rotate %l by pitch %n yaw %n"><custom-block s="&lt; %mult%n &gt;"><list><l>10</l><l>0</l><l>-10</l></list></custom-block><custom-block s="%l . %s"><block var="y"/><l>x</l></custom-block><custom-block s="%l . %s"><block var="y"/><l>y</l></custom-block></custom-block></list></block></custom-block><custom-block s="%l goto %l"><block var="cam"/><block s="reportVariadicSum"><list><block var="x"/><custom-block s="rotate %l by pitch %n yaw %n"><custom-block s="&lt; %mult%n &gt;"><list><l>10</l><l>0</l><l>10</l></list></custom-block><custom-block s="%l . %s"><block var="y"/><l>x</l></custom-block><custom-block s="%l . %s"><block var="y"/><l>y</l></custom-block></custom-block></list></block></custom-block><block s="up"></block></script></block-definition><block-definition s="rotate %&apos;x&apos; by pitch %&apos;y&apos; yaw %&apos;z&apos;" type="reporter" category="Vectors"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%n"></input><input type="%n"></input></inputs><script><block s="doDeclareVariables"><list><l>a</l></list></block><block s="doSetVar"><l>a</l><block s="reportMonadic"><l><option>id</option></l><block var="x"/></block></block><block s="doSetVar"><l>a</l><custom-block s="&lt; %mult%n &gt;"><list><custom-block s="%l . %s"><block var="a"/><l>x</l></custom-block><block s="reportDifference"><block s="reportVariadicProduct"><list><custom-block s="%l . %s"><block var="a"/><l>y</l></custom-block><block s="reportMonadic"><l><option>cos</option></l><block var="y"/></block></list></block><block s="reportVariadicProduct"><list><custom-block s="%l . %s"><block var="a"/><l>z</l></custom-block><block s="reportMonadic"><l><option>sin</option></l><block var="y"/></block></list></block></block><block s="reportVariadicSum"><list><block s="reportVariadicProduct"><list><custom-block s="%l . %s"><block var="a"/><l>y</l></custom-block><block s="reportMonadic"><l><option>sin</option></l><block var="y"/></block></list></block><block s="reportVariadicProduct"><list><custom-block s="%l . %s"><block var="a"/><l>z</l></custom-block><block s="reportMonadic"><l><option>cos</option></l><block var="y"/></block></list></block></list></block></list></custom-block></block><block s="doSetVar"><l>a</l><custom-block s="&lt; %mult%n &gt;"><list><block s="reportDifference"><block s="reportVariadicProduct"><list><custom-block s="%l . %s"><block var="a"/><l>x</l></custom-block><block s="reportMonadic"><l><option>cos</option></l><block var="z"/></block></list></block><block s="reportVariadicProduct"><list><custom-block s="%l . %s"><block var="a"/><l>z</l></custom-block><block s="reportMonadic"><l><option>sin</option></l><block var="z"/></block></list></block></block><custom-block s="%l . %s"><block var="a"/><l>y</l></custom-block><block s="reportVariadicSum"><list><block s="reportVariadicProduct"><list><custom-block s="%l . %s"><block var="a"/><l>x</l></custom-block><block s="reportMonadic"><l><option>sin</option></l><block var="z"/></block></list></block><block s="reportVariadicProduct"><list><custom-block s="%l . %s"><block var="a"/><l>z</l></custom-block><block s="reportMonadic"><l><option>cos</option></l><block var="z"/></block></list></block></list></block></list></custom-block></block><block s="doReport"><block var="a"/></block></script></block-definition><block-definition s="%&apos;x&apos; collide with plane normal %&apos;y&apos; (3d only)" type="command" category="Physics"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>a</l><l>b</l></list></block><block s="doSetVar"><l>a</l><custom-block s="dot %l %l"><block var="y"/><custom-block s="%l . %txt"><block var="x"/><l>vel</l></custom-block></custom-block></block><block s="doSetVar"><l>b</l><block s="reportDifference"><custom-block s="%l . %txt"><block var="x"/><l>vel</l></custom-block><block s="reportVariadicProduct"><list><block var="y"/><block var="a"/></list></block></block></block><custom-block s="%l . %txt = %s"><block var="x"/><l>vel</l><block s="reportVariadicSum"><list><block var="b"/><block s="reportVariadicProduct"><list><block var="y"/><custom-block s="constrain %n %n %n"><block var="a"/><l>0</l><block s="reportQuotient"><l>1</l><l>0</l></block></custom-block></list></block></list></block></custom-block><block s="log"><block var="b"/></block></script></block-definition><block-definition s="draw hud" type="command" category="pen"><header></header><code></code><translations></translations><inputs></inputs><script><block s="gotoXY"><l>-240</l><l>-180</l></block><block s="write"><block s="reportJoinWords"><list><l>Alt:</l><block s="reportQuotient"><block s="reportRound"><block s="reportVariadicProduct"><list><block s="reportDifference"><custom-block s="mag %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block><l>100000</l></block><l>1000</l></list></block></block><l>1000</l></block><l>m</l></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-168</l></block><block s="write"><block s="reportJoinWords"><list><l>Speed:</l><block s="reportQuotient"><block s="reportRound"><block s="reportVariadicProduct"><list><custom-block s="mag %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block></custom-block><l>1000</l></list></block></block><l>1000</l></block><l>m/tick</l></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-156</l></block><block s="write"><block s="reportJoinWords"><list><l>Y Speed:</l><block s="reportQuotient"><block s="reportRound"><block s="reportVariadicProduct"><list><custom-block s="dot %l %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block></custom-block><l>1000</l></list></block></block><l>1000</l></block><l>m/tick</l></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-144</l></block><block s="write"><block s="reportJoinWords"><list><l>XZ Speed:</l><block s="reportQuotient"><block s="reportRound"><block s="reportVariadicProduct"><list><custom-block s="mag %l"><block s="reportDifference"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block><block s="reportVariadicProduct"><list><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block><custom-block s="dot %l %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block></custom-block></list></block></block></custom-block><l>1000</l></list></block></block><l>1000</l></block><l>m/tick</l></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-132</l></block><block s="write"><block s="reportJoinWords"><list><l>Throttle:</l><block s="reportRound"><block s="reportVariadicProduct"><list><block var="throttle"/><l>100</l></list></block></block><l>%</l></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-120</l></block><block s="write"><block s="reportJoinWords"><list><l>TWR:</l><block s="reportQuotient"><block s="reportRound"><block s="reportVariadicProduct"><list><block s="reportQuotient"><block s="reportVariadicProduct"><list><block var="throttle"/><l>12</l></list></block><block s="reportQuotient"><block s="reportVariadicProduct"><list><l>1</l><custom-block s="%l . %txt"><block var="rocket"/><l>mass</l></custom-block><block s="reportPower"><l>10</l><l>8</l></block></list></block><custom-block s="sqMag %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block></block></block><l>1000</l></list></block></block><l>1000</l></block></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-108</l></block><block s="write"><block s="reportJoinWords"><list><l>Fuel:</l><block s="reportRound"><block s="reportDifference"><custom-block s="%l . %txt"><block var="rocket"/><l>mass</l></custom-block><block var="dry weight"/></block></block></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-96</l></block><block s="write"><block s="reportJoinWords"><list><l>Time warp:</l><block var="warp"/><l>x</l></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-84</l></block><block s="write"><block s="reportJoinWords"><list><l>Pe:</l><block s="reportQuotient"><block s="reportRound"><block s="reportVariadicProduct"><list><block s="reportDifference"><block s="reportMonadic"><l><option>abs</option></l><block s="reportListItem"><l>2</l><custom-block s="calculate apsises"></custom-block></block></block><l>100000</l></block><l>1000</l></list></block></block><l>1000</l></block><l>m</l></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-72</l></block><block s="write"><block s="reportJoinWords"><list><l>Ap:</l><block s="reportQuotient"><block s="reportRound"><block s="reportVariadicProduct"><list><block s="reportDifference"><block s="reportListItem"><l>1</l><custom-block s="calculate apsises"></custom-block></block><l>100000</l></block><l>1000</l></list></block></block><l>1000</l></block><l>m</l></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-60</l></block><block s="write"><block s="reportJoinWords"><list><l>SAS:</l><block var="sas mode"/></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-48</l></block><block s="write"><block s="reportJoinWords"><list><l>Autopilot:</l><block var="autopilot mode"/><l> </l><block var="autopilot param"/><l>m/tick</l></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-36</l></block><block s="write"><block s="reportJoinWords"><list><l>Escape Velocity:</l><block s="reportQuotient"><block s="reportRound"><block s="reportVariadicProduct"><list><block s="reportMonadic"><l><option>sqrt</option></l><block s="reportQuotient"><block s="reportVariadicProduct"><list><l>2</l><l>1</l><block s="reportPower"><l>10</l><l>8</l></block></list></block><custom-block s="mag %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block></block></block><l>1000</l></list></block></block><l>1000</l></block><l>m/tick</l></list></block><l>12</l></block><block s="gotoXY"><l>-240</l><l>-24</l></block><block s="write"><block s="reportJoinWords"><list><l>Orbital Velocity:</l><block s="reportQuotient"><block s="reportRound"><block s="reportVariadicProduct"><list><block s="reportMonadic"><l><option>sqrt</option></l><block s="reportQuotient"><block s="reportVariadicProduct"><list><l>1</l><block s="reportPower"><l>10</l><l>8</l></block></list></block><custom-block s="mag %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block></block></block><l>1000</l></list></block></block><l>1000</l></block><l>m/tick</l></list></block><l>12</l></block></script></block-definition><block-definition s="when key %&apos;x&apos; pressed %&apos;y&apos;" type="command" category="sensing"><header></header><code></code><translations></translations><inputs><input type="%txt"></input><input type="%cs"></input></inputs><script><block s="doIf"><block s="reportKeyPressed"><block var="x"/></block><script><block s="doRun"><block var="y"/><list></list></block><block s="doWaitUntil"><block s="reportNot"><block s="reportKeyPressed"><block var="x"/></block></block></block></script></block></script></block-definition><block-definition s="calculate apsises" type="reporter" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>a</l><l>e</l><l>||r||</l><l>||v||</l><l>μ</l></list></block><block s="doSetVar"><l>||r||</l><custom-block s="mag %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block></block><block s="doSetVar"><l>||v||</l><custom-block s="mag %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block></custom-block></block><block s="doSetVar"><l>μ</l><block s="reportVariadicProduct"><list><l>1</l><block s="reportPower"><l>10</l><l>8</l></block></list></block></block><block s="doSetVar"><l>a</l><block s="reportQuotient"><l>1</l><block s="reportDifference"><block s="reportQuotient"><l>2</l><block var="||r||"/></block><block s="reportQuotient"><block s="reportPower"><block var="||v||"/><l>2</l></block><block var="μ"/></block></block></block></block><block s="doSetVar"><l>e</l><block s="reportMonadic"><l><option>sqrt</option></l><block s="reportVariadicSum"><list><l>1</l><block s="reportQuotient"><block s="reportVariadicProduct"><list><block s="reportQuotient"><block var="μ"/><block var="a"/></block><block s="reportPower"><block s="reportVariadicProduct"><list><block var="||r||"/><block var="||v||"/></list></block><l>2</l></block></list></block><block s="reportPower"><block var="μ"/><l>2</l></block></block></list></block></block></block><block s="doReport"><block s="reportNewList"><list><block s="reportVariadicProduct"><list><block var="a"/><block s="reportVariadicSum"><list><l>1</l><block var="e"/></list></block></list></block><block s="reportVariadicProduct"><list><block var="a"/><block s="reportDifference"><l>1</l><block var="e"/></block></list></block></list></block></block></script></block-definition><block-definition s="autopilot" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>horizontal</l><l>vertical</l><l>a</l></list></block><block s="doSetVar"><l>a</l><custom-block s="&lt; %mult%n &gt;"><list><block s="reportMonadic"><l><option>acos</option></l><custom-block s="%l . %s"><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block><l>y</l></custom-block></block><block s="reportAtan2"><custom-block s="%l . %s"><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block><l>x</l></custom-block><custom-block s="%l . %s"><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block><l>z</l></custom-block></block></list></custom-block></block><block s="doSetVar"><l>vertical</l><custom-block s="dot %l %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block></custom-block></block><block s="doSetVar"><l>horizontal</l><custom-block s="mag %l"><block s="reportDifference"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block><block var="vertical"/></block></custom-block></block><block s="doIfElse"><block s="reportEquals"><block var="autopilot mode"/><l>CS</l></block><script><block s="doIfElse"><block s="reportLessThan"><block s="reportMonadic"><l><option>abs</option></l><block s="reportDifference"><custom-block s="mag %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block></custom-block><block var="autopilot param"/></block></block><l>10</l></block><script><block s="doSetVar"><l>throttle</l><l>0</l></block></script><script><block s="doSetVar"><l>throttle</l><l>1</l></block><block s="doIfElse"><block s="reportGreaterThan"><custom-block s="mag %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block></custom-block><block var="autopilot param"/></block><script><block s="doSetVar"><l>sas mode</l><l>Retrograde</l></block></script><script><block s="doSetVar"><l>sas mode</l><l>Prograde</l></block></script></block></script></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="autopilot mode"/><l>CVS</l></block><script><block s="doSetVar"><l>autopilot mode</l><l>Off</l></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="autopilot mode"/><l>CHS</l></block><script><block s="doSetVar"><l>autopilot mode</l><l>Off</l></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="autopilot mode"/><l>Landing</l></block><script><block s="doSetVar"><l>autopilot mode</l><l>Off</l></block></script><script></script></block></script></block></script></block></script></block></script><scripts><script x="346" y="47.200000000000045"><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block></script><script x="54" y="958.8000000000002"><block s="doSetVar"><l>ang</l><block s="reportVariadicSum"><list><l>180</l><block s="reportAtan2"><block s="reportListItem"><l>1</l><block var="vel"/></block><block s="reportListItem"><l>2</l><block var="vel"/></block></block></list></block></block><block s="doDeclareVariables"><list><l>t</l></list></block><block s="doSetVar"><l>t</l><block s="reportQuotient"><block s="reportVariadicSum"><list><block var="vertical"/><block s="reportMonadic"><l><option>sqrt</option></l><block s="reportVariadicSum"><list><block s="reportPower"><block var="vertical"/><l>2</l></block><block s="reportVariadicProduct"><list><l>2</l><l>0.004</l><block s="reportDifference"><block s="reportMonadic"><l><option>sqrt</option></l><custom-block s="sqMag %l"><block var="pos"/></custom-block></block><l>100000</l></block></list></block></list></block></block></list></block><l>0.004</l></block></block><block s="doIf"><block s="reportLessThan"><block s="reportModulus"><block s="reportDate"><l><option>time in milliseconds</option></l></block><l>500</l></block><l>30</l></block><script><block s="doIfElse"><block s="reportAnd"><block s="reportGreaterThan"><block s="reportQuotient"><block var="vertical"/><l>-0.004</l></block><block var="t"/></block><block s="reportLessThan"><block var="vertical"/><l>0</l></block></block><script><block s="doSetVar"><l>throttle</l><l>1</l></block></script><script><block s="doSetVar"><l>throttle</l><l>0</l></block></script></block></script></block></script></scripts></block-definition><block-definition s="vecFromHeading %&apos;a&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%n"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block s="reportMonadic"><l><option>sin</option></l><block var="a"/></block><block s="reportMonadic"><l><option>cos</option></l><block var="a"/></block></list></block></block></script></block-definition><block-definition s="cycle autopilot" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIf"><block s="reportKeyPressed"><l><option>0</option></l></block><script><block s="doSetVar"><l>autopilot mode</l><l>Off</l></block><block s="doSetVar"><l>autopilot param</l><l></l></block></script></block><block s="doIf"><block s="reportKeyPressed"><l><option>1</option></l></block><script><block s="doAsk"><l>Speed?</l></block><block s="doSetVar"><l>autopilot mode</l><l>CS</l></block><block s="doSetVar"><l>autopilot param</l><block s="getLastAnswer"></block></block></script></block><block s="doIf"><block s="reportKeyPressed"><l><option>2</option></l></block><script><block s="doAsk"><l>Speed?</l></block><block s="doSetVar"><l>autopilot mode</l><l>CVS</l></block><block s="doSetVar"><l>autopilot param</l><block s="getLastAnswer"></block></block></script></block><block s="doIf"><block s="reportKeyPressed"><l><option>3</option></l></block><script><block s="doAsk"><l>Speed?</l></block><block s="doSetVar"><l>autopilot mode</l><l>CHS</l></block><block s="doSetVar"><l>autopilot param</l><block s="getLastAnswer"></block></block></script></block><block s="doIf"><block s="reportKeyPressed"><l><option>4</option></l></block><script><block s="doSetVar"><l>autopilot mode</l><l>Landing</l></block><block s="doSetVar"><l>autopilot param</l><l></l></block></script></block></script></block-definition><block-definition s="cycle SAS" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block s="reportEquals"><block var="sas mode"/><l>Stability Assist</l></block><script><block s="doSetVar"><l>sas mode</l><l>Prograde</l></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="sas mode"/><l>Prograde</l></block><script><block s="doSetVar"><l>sas mode</l><l>Retrograde</l></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="sas mode"/><l>Retrograde</l></block><script><block s="doSetVar"><l>sas mode</l><l>Off</l></block></script><script><block s="doSetVar"><l>sas mode</l><l>Stability Assist</l></block></script></block></script></block></script></block></script></block-definition><block-definition s="SAS" type="command" category="motion"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doIfElse"><block s="reportEquals"><block var="sas mode"/><l>Stability Assist</l></block><script><block s="doChangeVar"><l>avel</l><block s="reportVariadicProduct"><list><block s="reportDifference"><block s="reportKeyPressed"><l><option>d</option></l></block><block s="reportKeyPressed"><l><option>a</option></l></block></block><l>10</l></list></block></block><block s="doSetVar"><l>avel</l><block s="reportVariadicProduct"><list><block var="avel"/><l>0.3</l></list></block></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="sas mode"/><l>Prograde</l></block><script><block s="doSetVar"><l>ang</l><custom-block s="&lt; %mult%n &gt;"><list><block s="reportMonadic"><l><option>acos</option></l><custom-block s="%l . %s"><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block></custom-block><l>y</l></custom-block></block><block s="reportAtan2"><custom-block s="%l . %s"><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block></custom-block><l>x</l></custom-block><custom-block s="%l . %s"><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block></custom-block><l>z</l></custom-block></block></list></custom-block></block></script><script><block s="doIfElse"><block s="reportEquals"><block var="sas mode"/><l>Retrograde</l></block><script><block s="doSetVar"><l>ang</l><custom-block s="&lt; %mult%n &gt;"><list><block s="reportMonadic"><l><option>acos</option></l><block s="reportDifference"><l>0</l><custom-block s="%l . %s"><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block></custom-block><l>y</l></custom-block></block></block><block s="reportAtan2"><block s="reportDifference"><l>0</l><custom-block s="%l . %s"><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block></custom-block><l>x</l></custom-block></block><block s="reportDifference"><l>0</l><custom-block s="%l . %s"><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>vel</l></custom-block></custom-block><l>z</l></custom-block></block></block></list></custom-block></block></script><script></script></block></script></block></script></block></script></block-definition><block-definition s="%&apos;z&apos; air %&apos;x&apos; lift %&apos;y&apos; density %&apos;w&apos; surface normal %&apos;f&apos;" type="command" category="Physics"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input><input type="%n"></input><input type="%n"></input><input type="%l"></input></inputs><script><block s="doDeclareVariables"><list><l>v</l><l>a</l></list></block><block s="doSetVar"><l>v</l><block s="reportDifference"><custom-block s="%l . %txt"><block var="z"/><l>vel</l></custom-block><block var="x"/></block></block><block s="doSetVar"><l>a</l><block s="reportDifference"><block var="v"/><block s="reportVariadicProduct"><list><block var="f"/><custom-block s="dot %l %l"><block var="f"/><block var="v"/></custom-block></list></block></block></block><custom-block s="apply force %l to %l"><block s="reportVariadicProduct"><list><l>0.5</l><block var="a"/><block var="v"/><block var="w"/><block var="y"/></list></block><block var="z"/></custom-block></script></block-definition><block-definition s="air density" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doDeclareVariables"><list><l>a</l></list></block><block s="doSetVar"><l>a</l><block s="reportDifference"><custom-block s="mag %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block><l>100000</l></block></block><block s="doIfElse"><block s="reportLessThan"><block var="a"/><l>30000</l></block><script><block s="doReport"><block s="reportMonadic"><l><option>e^</option></l><block s="reportDifference"><l>0</l><block s="reportQuotient"><block var="a"/><l>3000</l></block></block></block></block></script><script><block s="doReport"><l>0</l></block></script></block></script></block-definition><block-definition s="%&apos;x&apos; . %&apos;y&apos;" type="reporter" category="Physics"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportListItem"><block var="y"/><block var="x"/></block></block></script></block-definition><block-definition s="mag %&apos;x&apos;" type="reporter" category="Vectors"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportMonadic"><l><option>sqrt</option></l><custom-block s="sqMag %l"><block var="x"/></custom-block></block></block></script></block-definition><block-definition s="sqMag %&apos;x&apos;" type="reporter" category="Vectors"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><custom-block s="dot %l %l"><block var="x"/><block var="x"/></custom-block></block></script></block-definition><block-definition s="dot %&apos;x&apos; %&apos;y&apos;" type="reporter" category="Vectors"><header></header><code></code><translations></translations><inputs><input type="%l"></input><input type="%l"></input></inputs><script><block s="doReport"><block s="reportVariadicSum"><block s="reportVariadicProduct"><list><block var="x"/><block var="y"/></list></block></block></block></script></block-definition></blocks><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="false" hyperops="true" codify="false" inheritance="true" sublistIDs="false" id="2202"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAIABJREFUeF7t3Uvobt0jB/D1upUklxIReksGGAllxMCEkRQTlJnBW5QR5kQGMjgTM2JCkgkDEzJAxEAxoI7yT5HcMpHLX/t09s/6rbOu+/Ks/TzP59Tbe87v2XtdPns9z/dZ+7J+HwV/CBAgQIAAgZsLfHTzGlVIgAABAgQIBAFsEBAgQIAAgQkCAngCuioJECBAgIAANgYIECBAgMAEAQE8AV2VBAgQIEBAABsDBAgQIEBggoAAnoCuSgIECBAgIICNAQIECBAgMEFAAE9AVyUBAgQIEBDAxgABAgQIEJggIIAnoKuSAAECBAgIYGOAAAECBAhMEBDAE9BVSYAAAQIEBLAxQIAAAQIEJggI4AnoqiRAgAABAgLYGCBAgAABAhMEBPAEdFUSIECAAAEBbAwQIECAAIEJAgJ4AroqCRAgQICAADYGCBAgQIDABAEBPAFdlQQIECBAQAAbAwQIECBAYIKAAJ6ArkoCBAgQICCAjQECBAgQIDBBQABPQFclAQIECBAQwMYAAQIECBCYICCAJ6CrkgABAgQICGBjgAABAgQITBAQwBPQVUmAAAECBASwMUCAAAECBCYICOAJ6KokQIAAAQIC2BggQIAAAQITBATwBHRVEiBAgAABAWwMECBAgACBCQICeAK6KgkQIECAgAA2BggQIECAwAQBATwBXZUECBAgQEAAGwMECBAgQGCCgACegK5KAgQIECAggI0BAgQIECAwQUAAT0BXJQECBAgQEMDGAAECBAgQmCA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uR+CmS1HeD4uWEiBAgACBcwXMgM/1VToBAgQIEMgKvATwyN3CR1mOnubuucHrzGU0j+q3cggQIECAwOYA3nvzU+9CGushaj2eVNrOISZAgAABAlcUeBXASwNzjxvlZpV7Z8wC+IrDQZsIECBA4FYCL2tBLyHbWp4xnmXGDayd9k2fMy7tNzKjri2YsX6JqD3ffCtc9RAgQIAAgZLApgBeChsJzFzlozOAM1OfAAAAhElEQVTg2inmNWzjLxG1hTsMBwIECBAgMFvg1W9DWhvT8/uBZwRwT52l4O3Zd/bBUD8BAgQIPI/Aqxlwbma791pviXJ0BtzTjtyp6TSQn+fQ6ikBAgQIXFngZS3o0m80ihtfWtu5Z8ZcOg3dO+vOXUsurdccf5EQwFceftpGgACB5xX4P0kuOA1RQKGrAAAAAElFTkSuQmCC</pentrails><costumes><list struct="atomic" id="2203"></list></costumes><sounds><list struct="atomic" id="2204"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites select="1"><sprite name="Sprite" idx="1" x="-65.99999999999727" y="-24" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" hidden="true" costume="0" color="36,255,26,1" pen="tip" id="2209"><costumes><list struct="atomic" id="2210"></list></costumes><sounds><list struct="atomic" id="2211"></list></sounds><blocks></blocks><variables></variables><scripts><script x="30" y="30"><block s="receiveGo"></block><block s="doSetVar"><l>Cam</l><custom-block s="new camera %l %l"><custom-block s="&lt; %mult%n &gt;"><list><l>0</l><l>100000</l><l>0</l></list></custom-block><custom-block s="&lt; %mult%n &gt;"><list><l>0</l><l>0</l></list></custom-block></custom-block></block><block s="doSetVar"><l>rocket</l><custom-block s="new physics object %br pos %l %br mass %n"><custom-block s="&lt; %mult%n &gt;"><list><l>0</l><l>100000</l><l>0</l></list></custom-block><l>1000</l></custom-block></block><block s="doSetVar"><l>ang</l><custom-block s="&lt; %mult%n &gt;"><list><l>0</l><l>0</l></list></custom-block></block><block s="doSetVar"><l>avel</l><custom-block s="&lt; %mult%n &gt;"><list><l>0</l><l>0</l></list></custom-block></block><block s="doSetVar"><l>throttle</l><l>0</l></block><block s="doSetVar"><l>dry weight</l><l>200</l></block><block s="doSetVar"><l>warp</l><l>1</l></block><block s="doSetVar"><l>autopilot mode</l><l>Off</l></block><block s="doSetVar"><l>autopilot param</l><l>0</l></block><block s="doSetVar"><l>sas mode</l><l>Stability Assist</l></block><block s="hide"></block><block s="doForever"><script><block s="doChangeVar"><l>throttle</l><block s="reportQuotient"><block s="reportDifference"><block s="reportKeyPressed"><l><option>z</option></l></block><block s="reportKeyPressed"><l><option>x</option></l></block></block><l>10</l></block></block><block s="doSetVar"><l>throttle</l><custom-block s="constrain %n %n %n"><block var="throttle"/><l>0</l><l>1</l></custom-block></block><block s="doSetVar"><l>avel</l><block s="reportVariadicSum"><list><block var="avel"/><block s="reportQuotient"><custom-block s="&lt; %mult%n &gt;"><list><block s="reportDifference"><block s="reportKeyPressed"><l><option>w</option></l></block><block s="reportKeyPressed"><l><option>s</option></l></block></block><block s="reportDifference"><block s="reportKeyPressed"><l><option>d</option></l></block><block s="reportKeyPressed"><l><option>a</option></l></block></block></list></custom-block><l>10</l></block></list></block></block><custom-block s="when key %txt pressed %cs"><l>,</l><script><block s="doSetVar"><l>warp</l><block s="reportQuotient"><block var="warp"/><l>2</l></block></block><block s="doSetVar"><l>warp</l><custom-block s="constrain %n %n %n"><block var="warp"/><l>1</l><l>1024</l></custom-block></block></script></custom-block><custom-block s="when key %txt pressed %cs"><l>.</l><script><block s="doSetVar"><l>warp</l><block s="reportVariadicProduct"><list><block var="warp"/><l>2</l></list></block></block><block s="doSetVar"><l>warp</l><custom-block s="constrain %n %n %n"><block var="warp"/><l>1</l><l>1024</l></custom-block></block></script></custom-block><custom-block s="when key %txt pressed %cs"><l>t</l><script><custom-block s="cycle SAS"></custom-block></script></custom-block><custom-block s="cycle autopilot"></custom-block><custom-block s="framerate limit %n"><l>20</l><variables><variable name="t"><l>1675689623180</l></variable></variables></custom-block><block s="doWarp"><script><block s="clear"></block><custom-block s="camera %l move with mouse"><block var="Cam"/></custom-block><custom-block s="%l bind to %l with offset %l"><block var="Cam"/><block var="rocket"/><custom-block s="&lt; %mult%n &gt;"><list><l>0</l><l>0</l><l>0</l></list></custom-block></custom-block><block s="setPenColorDimension"><l><option>r-g-b(-a)</option></l><l>0</l></block><custom-block s="%l draw rocket on %l rotated %l"><block var="Cam"/><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block><block var="ang"/></custom-block><block s="up"></block><custom-block s="%l goto %l"><block var="Cam"/><custom-block s="&lt; %mult%n &gt;"><list><l>-1000</l><l>100000</l><l>-1000</l></list></custom-block></custom-block><block s="down"></block><block s="setColor"><color>33,107,0,1</color></block><custom-block s="%l goto %l"><block var="Cam"/><custom-block s="&lt; %mult%n &gt;"><list><l>1000</l><l>100000</l><l>-1000</l></list></custom-block></custom-block><custom-block s="%l goto %l"><block var="Cam"/><custom-block s="&lt; %mult%n &gt;"><list><l>1000</l><l>100000</l><l>1000</l></list></custom-block></custom-block><custom-block s="%l goto %l"><block var="Cam"/><custom-block s="&lt; %mult%n &gt;"><list><l>-1000</l><l>100000</l><l>1000</l></list></custom-block></custom-block><custom-block s="%l goto %l"><block var="Cam"/><custom-block s="&lt; %mult%n &gt;"><list><l>-1000</l><l>100000</l><l>-1000</l></list></custom-block></custom-block><block s="up"></block><custom-block s="%l goto %l"><block var="Cam"/><custom-block s="&lt; %mult%n &gt;"><list><l>0</l><l>100000</l><l>0</l></list></custom-block></custom-block><block s="floodFill"></block><block s="doRepeat"><block var="warp"/><script><custom-block s="SAS"></custom-block><custom-block s="autopilot"></custom-block><custom-block s="update %l"><block var="rocket"/></custom-block><block s="doSetVar"><l>ang</l><block s="reportVariadicSum"><list><block var="ang"/><block var="avel"/></list></block></block><custom-block s="%l newtonian gravity %l gravity %n"><block var="rocket"/><block s="reportNewList"><list><block s="reportNewList"><list><l>pos</l><custom-block s="&lt; %mult%n &gt;"><list><l>0</l><l>0</l><l>0</l></list></custom-block></list></block><block s="reportNewList"><list><l>mass</l><block s="reportPower"><l>10</l><l>8</l></block></list></block></list></block><l>1</l></custom-block><block s="doIfElse"><block s="reportGreaterThan"><block s="reportDifference"><custom-block s="%l . %txt"><block var="rocket"/><l>mass</l></custom-block><block var="dry weight"/></block><l>0</l></block><script><custom-block s="apply force %l to %l"><block s="reportVariadicProduct"><list><custom-block s="rotate %l by pitch %n yaw %n"><custom-block s="&lt; %mult%n &gt;"><list><l>0</l><block var="throttle"/><l>0</l></list></custom-block><custom-block s="%l . %s"><block var="ang"/><l>x</l></custom-block><custom-block s="%l . %s"><block var="ang"/><l>y</l></custom-block></custom-block><l>12</l></list></block><block var="rocket"/></custom-block><custom-block s="%l . %txt = %s"><block var="rocket"/><l>mass</l><block s="reportDifference"><custom-block s="%l . %txt"><block var="rocket"/><l>mass</l></custom-block><block s="reportQuotient"><block var="throttle"/><l>10</l></block></block></custom-block></script><script><block s="doSetVar"><l>throttle</l><l>0</l></block></script></block><block s="doIf"><block s="reportLessThan"><custom-block s="mag %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block><l>100000</l></block><script><custom-block s="%l collide with plane normal %l (3d only)"><block var="rocket"/><custom-block s="norm %l"><custom-block s="%l . %txt"><block var="rocket"/><l>pos</l></custom-block></custom-block></custom-block></script></block></script></block><block s="setColor"><color>36,255,26,1</color></block><custom-block s="draw hud"></custom-block></script></block></script></block></script></scripts></sprite><watcher var="Cam" style="normal" x="10" y="10" color="243,118,29" hidden="true"/><watcher var="rocket" style="normal" x="10" y="31.000001999999995" color="243,118,29" hidden="true"/><watcher var="ang" style="normal" x="10" y="52.00000399999999" color="243,118,29" hidden="true"/><watcher var="avel" style="normal" x="10" y="73.000006" color="243,118,29" hidden="true"/><watcher var="throttle" style="normal" x="10" y="94.00000799999998" color="243,118,29" hidden="true"/><watcher var="fuel" style="normal" x="10" y="115.00000999999997" color="243,118,29" hidden="true"/><watcher var="dry weight" style="normal" x="10" y="136.00001199999997" color="243,118,29" hidden="true"/><watcher var="warp" style="normal" x="10" y="157.00001399999996" color="243,118,29" hidden="true"/></sprites></stage><variables><variable name="Cam"><list id="2594"><item><list id="2595"><item><l>ang</l></item><item><list struct="atomic" id="2596">84,-160</list></item></list></item><item><list id="2597"><item><l>pos</l></item><item><list struct="atomic" id="2598">0,99999.709999692,0</list></item></list></item></list></variable><variable name="rocket"><list id="2599"><item><list id="2600"><item><l>pos</l></item><item><list struct="atomic" id="2601">0,99999.709999692,0</list></item></list></item><item><list struct="atomic" id="2602">mass,1000</list></item><item><list id="2603"><item><l>vel</l></item><item><list struct="atomic" id="2604">0,0,0</list></item></list></item></list></variable><variable name="ang"><list struct="atomic" id="2605">0,0</list></variable><variable name="avel"><list struct="atomic" id="2606">0,0</list></variable><variable name="throttle"><l>0</l></variable><variable name="dry weight"><l>200</l></variable><variable name="warp"><l>1</l></variable><variable name="sas mode"><l>Stability Assist</l></variable><variable name="autopilot mode"><l>Off</l></variable><variable name="autopilot param"><l>0</l></variable></variables></scene></scenes></project><media name="3d rocket simulator" app="Snap! 8.1, https://snap.berkeley.edu" version="2"></media></snapdata>