PageSourceSearch

https://motioncanvas.io/assets/js/cc859bf3.64b5760d.js

js motioncanvas.io collected 2026-10-04 00:25:28 UTC 6,291 bytes, 10 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opener = _____WB$wombat$assign$function_____("opener");
10"use strict";(self.webpackChunk_motion_canvas_docs=self.webpackChunk_motion_canvas_docs||[]).push([[1748],{876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>v});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?o(Object(a),!0).forEach((function(t){r(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function c(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var s=n.createContext({}),l=function(e){var t=n.useContext(s),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},m=function(e){var t=l(e.components);return n.createElement(s.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,o=e.originalType,s=e.parentName,m=c(e,["components","mdxType","originalType","parentName"]),p=l(a),f=r,v=p["".concat(s,".").concat(f)]||p[f]||u[f]||o;return a?n.createElement(v,i(i({ref:t},m),{},{components:a})):n.createElement(v,i({ref:t},m))}));function v(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=a.length,i=new Array(o);i[0]=f;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[p]="string"==typeof e?e:r,i[1]=c;for(var l=2;l<o;l++)i[l]=a[l];return n.createElement.apply(null,i)}return n.createElement.apply(null,a)}f.displayName="MDXCreateElement"},1316:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>p,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var n=a(7896),r=(a(2784),a(876));const o={slug:"version-2.2.0",title:"Motion Canvas v2.2.0",authors:"aarthificial"},i=void 0,c={permalink:"/blog/version-2.2.0",editUrl:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/blob/main/packages/docs/blog/2023-02-09-version-2.2.0.mdx",source:"@site/blog/2023-02-09-version-2.2.0.mdx",title:"Motion Canvas v2.2.0",description:"Features",date:"2023-02-09T00:00:00.000Z",formattedDate:"February 9, 2023",tags:[],readingTime:.255,hasTruncateMarker:!1,authors:[{name:"Jacob",title:"Motion Canvas Creator",url:"http://web.archive.org/web/20230317133943/https://twitter.com/aarthificial",imageURL:"http://web.archive.org/web/20230317133943/https://github.com/aarthificial.png",key:"aarthificial"}],frontMatter:{slug:"version-2.2.0",title:"Motion Canvas v2.2.0",authors:"aarthificial"},prevItem:{title:"Motion Canvas v2.3.0",permalink:"/blog/version-2.3.0"},nextItem:{title:"Motion Canvas v2.1.0",permalink:"/blog/version-2.1.0"}},s={authorsImageUrls:[void 0]},l=[{value:"Features",id:"features",level:3},{value:"Bug Fixes",id:"bug-fixes",level:3}],m={toc:l};
10function p(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h3",{id:"features"},"Features"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"New ",(0,r.kt)("a",{parentName:"li",href:"/docs/project-variables"},"project variables")," let you create customizable\nanimations (",(0,r.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/255"},"#255"),")\n(",(0,r.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/488329525939928af52b4a4d8488f1e1cd4cf6f7"},"4883295"),")"),(0,r.kt)("li",{parentName:"ul"},"The ",(0,r.kt)("a",{parentName:"li",href:"/api/2d/components/Video"},(0,r.kt)("inlineCode",{parentName:"a"},"Video"))," component has new getters for the\n",(0,r.kt)("a",{parentName:"li",href:"/api/2d/components/Video#getDuration"},"duration"),",\n",(0,r.kt)("a",{parentName:"li",href:"/api/2d/components/Video#getCurrentTime"},"current time"),", and\n",(0,r.kt)("a",{parentName:"li",href:"/api/2d/components/Video#isPlaying"},"state")," of the video\n(",(0,r.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/240"},"#240"),")\n(",(0,r.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/59de5ab2c089589773a2f9ad7588eda7d72693a7"},"59de5ab"),")")),(0,r.kt)("h3",{id:"bug-fixes"},"Bug Fixes"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Text is now visible in Firefox without the need of a custom flag\n(",(0,r.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/pull/249"},"#249"),")\n(",(0,r.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/20a4d65bbfa0c568e571274d9b6a16fb4327a5fa"},"20a4d65"),")")))}p.isMDXComponent=!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.