Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/donkeyclip/motorcortex-waa
https://github.com/donkeyclip/motorcortex-waa
motorcortex motorcortex-plugin web-animation-api
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/donkeyclip/motorcortex-waa
- Owner: donkeyclip
- License: mit
- Created: 2021-06-07T11:41:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T15:37:40.000Z (3 months ago)
- Last Synced: 2024-10-23T20:49:57.148Z (3 months ago)
- Topics: motorcortex, motorcortex-plugin, web-animation-api
- Language: JavaScript
- Homepage:
- Size: 2.75 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# motorcortex-plugin-starter
## Purpose
A starter plugin for creating MotorCortex plugins.
## Structure and Contents
It includes:
- rollup configuration & ready to use build tools
- a pre-configured webpack for the needs of the demo
- pre-configured eslint and babel
- and a set of ready to work on, Incidents:
- **Effect**, for developing a custom Effect
- **HTMLClip**, for developing a pre-configured HTML Clip with HTML, CSS and Incidents
- **Combo**, for developing custom, pre-configured Combos
- **Clip**, for developing custom browser Clips, such as canvasThese Incidents are the starting point for developing a plugin. They extend the right
Classes from MotorCortex SDK and they have blank implementations of all the methods that
should or can be overwritten, with comments.Along with the comments you can always refer to MotorCortex documentation
for detailed information on how to implement a plugin.## How to use
Once you've decided what exactly your pluign is going to do and once we've decided on the type of Incident(s)
you need to implement, you can start directly from the basic/blank implementations and either work on them directly
or just copy them.
Change the names of the files, name your Classes however you want but always make sure you import and
expose everything properly on your index.js file.Also, it's imortant to change your package.json file so you can name your pluign, provide details and more.
## Commands
- `npm run build`: builds the dist of your pluign along with the demo
- `npm run build:demo`: builds just the demo
- `npm start`: builds everything and starts the demo
- `npm start:demo`: just starts the demo## Have fun!!!