{"id":1205,"date":"2023-11-07T03:12:35","date_gmt":"2023-11-07T03:12:35","guid":{"rendered":"https:\/\/haxed.me.uk\/?p=1205"},"modified":"2023-11-07T03:12:36","modified_gmt":"2023-11-07T03:12:36","slug":"creating-plot-animations-exports-in-wolfram-mathematica","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2023\/11\/07\/creating-plot-animations-exports-in-wolfram-mathematica\/","title":{"rendered":"Creating Plot Animations Exports in Wolfram Mathematica"},"content":{"rendered":"\n<p>I&#8217;ve been trying out the trial of Wolfram Mathematica as part of my research into cosmic OS and creating a generative universe from the square root of -1 and other interesting things. In this example I&#8217;m generating some waves and altering a given component of the equation to provide frame by frame output of the plot. It&#8217;s really neat and I am having a lot of fun with it. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/haxed.me.uk\/wp-content\/uploads\/2023\/11\/vlcsnap-2023-11-07-03h12m07s558.png\"><img loading=\"lazy\" decoding=\"async\" width=\"542\" height=\"582\" src=\"https:\/\/haxed.me.uk\/wp-content\/uploads\/2023\/11\/vlcsnap-2023-11-07-03h12m07s558.png\" alt=\"\" class=\"wp-image-1209\" srcset=\"https:\/\/haxed.me.uk\/wp-content\/uploads\/2023\/11\/vlcsnap-2023-11-07-03h12m07s558.png 542w, https:\/\/haxed.me.uk\/wp-content\/uploads\/2023\/11\/vlcsnap-2023-11-07-03h12m07s558-279x300.png 279w\" sizes=\"auto, (max-width: 542px) 100vw, 542px\" \/><\/a><\/figure>\n\n\n\n<p><br><br>I noticed their documentation is pretty useful at documenting each function but you have to do a bit of effort to understand properly how to plot into export directly. The two choices available seem to be a frame by frame fps &#8216;da&#8217; variable, the other by calling AnimationDuration->15, notice also in this example imageresolution and antialiasing are set, ImageResolution -> 800, Antialiasing -> True, this overides the default animation setting, which for our purposes is too small for a large range of variable sine wave &#8216;a&#8217;.<br><br>Stuff like this makes me really happy, and will be a perfect approach in the meantime for some of our renders for Cosmic OS.<\/p>\n\n\n\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nmyS&#x5B;x_, y_, a_] := Sin&#x5B;x y + a];\nExport&#x5B;&quot;manipulate4.avi&quot;,  Manipulate&#x5B;  Plot3D&#x5B;myS&#x5B;x, y, a], {x, -200, 200}, {y, -200, 200}], {a, 0, 500}],&quot;AnimationDuration&quot; -&gt; 100 , ImageResolution -&gt; 800,  Antialiasing -&gt; True]\n\n<\/pre>\n\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been trying out the trial of Wolfram Mathematica as part of my research into cosmic OS and creating a generative universe from the square root of -1 and other interesting things. In this example I&#8217;m generating some waves and &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2023\/11\/07\/creating-plot-animations-exports-in-wolfram-mathematica\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1205","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=1205"}],"version-history":[{"count":2,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1205\/revisions"}],"predecessor-version":[{"id":1211,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1205\/revisions\/1211"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=1205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=1205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=1205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}