{"id":190,"date":"2025-01-18T12:04:43","date_gmt":"2025-01-18T12:04:43","guid":{"rendered":"https:\/\/www.mickiwiki.com\/?p=190"},"modified":"2025-03-08T14:01:25","modified_gmt":"2025-03-08T14:01:25","slug":"update-and-equations","status":"publish","type":"post","link":"https:\/\/www.mickiwiki.com\/?p=190","title":{"rendered":"equations"},"content":{"rendered":"\n<p><br><\/p>\n\n\n\n<p>Those constant zooms change the field size\/image_width by the same proportion each frame. To find an unknown value you need to know the other 3. The equations are;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$proportion=1-(($small**2)\/($big**2))**(1\/$frames);\n\n$big=round(sqrt(($small**2)\/((1-$proportion)**$frames)));\n\n$small=round(sqrt(($big**2)*((1-$proportion)**$frames)));\n\n$frames=abs(round(2*(log($small\/$big))\/(log(1-$proportion))));<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>For calculating the x and y move in relation to the zoom.<br>distx = total of move x axis in pixels:<br>disty = total of move y axis in pixels:<br>distw = total change in width in pixels<br>Using the field size at each frame to calculate the x, y distance for that frame;<br>the equations are;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>x=start_x+(distx\/distw)*((current width-start_width));\ny=start_y+(disty\/distw)*((current width-start_width));<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-12a52b4c-3ac4-4cc5-bf13-b8bd82ac2346\" href=\"https:\/\/www.mickiwiki.com\/wp-content\/uploads\/2025\/01\/calculate_move-1.7z\">calculate_move<\/a><a href=\"https:\/\/www.mickiwiki.com\/wp-content\/uploads\/2025\/01\/calculate_move-1.7z\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-12a52b4c-3ac4-4cc5-bf13-b8bd82ac2346\">Download<\/a><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Those constant zooms change the field size\/image_width by the same proportion each frame. To find an unknown value you need to know the other 3. The equations are; For calculating the x and y move in relation to the zoom.distx = total of move x axis in pixels:disty = total of move y axis in&hellip;&nbsp;<a href=\"https:\/\/www.mickiwiki.com\/?p=190\" rel=\"bookmark\"><span class=\"screen-reader-text\">equations<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"[\"title\",\"meta\",\"thumbnail\",\"content\",\"tags\",\"comments\"]","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-190","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.mickiwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mickiwiki.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mickiwiki.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mickiwiki.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mickiwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=190"}],"version-history":[{"count":7,"href":"https:\/\/www.mickiwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/190\/revisions"}],"predecessor-version":[{"id":209,"href":"https:\/\/www.mickiwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/190\/revisions\/209"}],"wp:attachment":[{"href":"https:\/\/www.mickiwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mickiwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mickiwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}