1.0.2 • Published 7 months ago

@jtstrader/motion-canvas-components v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

Motion Canvas Components

Using this library

  1. Clone this repo.
  2. Run npm install <path to this repo> in your motion canvas project
  3. Set your vite.config.ts to look like this:
export default defineConfig({
  plugins: [motionCanvas()],
  resolve: {
    alias: {
      '@motion-canvas/core': path.resolve('./node_modules/@motion-canvas/core'),
      '@motion-canvas/2d': path.resolve('./node_modules/@motion-canvas/2d'),
    },
  },
});

From npm

  1. Run npm install <library name here>
  2. Set your vite.config.ts to look like this:
export default defineConfig({
  plugins: [motionCanvas()],
  resolve: {
    alias: {
      '@motion-canvas/core': path.resolve('./node_modules/@motion-canvas/core'),
      '@motion-canvas/2d': path.resolve('./node_modules/@motion-canvas/2d'),
    },
  },
});

Components

NameDescription
GearA spur gear with configurable size, teeth, struts, and a single concentric center
1.0.2

7 months ago

1.0.1

1 year ago

1.0.0

1 year ago