{"id":20762038,"url":"https://github.com/donkeyclip/motorcortex-comets","last_synced_at":"2025-04-30T06:29:01.934Z","repository":{"id":40434243,"uuid":"316462224","full_name":"donkeyclip/motorcortex-comets","owner":"donkeyclip","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-17T17:40:29.000Z","size":7125,"stargazers_count":0,"open_issues_count":24,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-18T08:02:02.844Z","etag":null,"topics":["comets","motorcortex","motorcortex-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/donkeyclip.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-11-27T09:52:34.000Z","updated_at":"2022-04-01T08:44:30.000Z","dependencies_parsed_at":"2023-02-08T04:46:28.137Z","dependency_job_id":"cc6a2847-47de-4a64-bb1d-d18912c79bb4","html_url":"https://github.com/donkeyclip/motorcortex-comets","commit_stats":{"total_commits":554,"total_committers":12,"mean_commits":"46.166666666666664","dds":"0.30505415162454874","last_synced_commit":"f5aab1143544a05d212194c9431a2b5b52e3445f"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fmotorcortex-comets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fmotorcortex-comets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fmotorcortex-comets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fmotorcortex-comets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donkeyclip","download_url":"https://codeload.github.com/donkeyclip/motorcortex-comets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251653665,"owners_count":21622170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comets","motorcortex","motorcortex-plugin"],"created_at":"2024-11-17T10:28:47.457Z","updated_at":"2025-04-30T06:29:01.897Z","avatar_url":"https://github.com/donkeyclip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# motorcortex-comets\n\n## Demo\n\n[Check it out here](https://donkeyclip.github.io/motorcortex-comets/demo/index.html)\n\n## Installation\n\n```bash\n$ npm install --save @donkeyclip/motorcortex-comets\n# OR\n$ yarn add @donkeyclip/motorcortex-comets\n```\n\n## Loading\n\n```javascript\nconst MotorCortex = require(\"@donkeyclip/motorcortex/\");\nconst cometsDefinition = require(\"@donkeyclip/motorcortex-comets\");\nconst Plugin = MotorCortex.loadPlugin(BannersDefinition);\n```\n\n# Create incident\n\n## Comets\n\n```javascript\nconst comet = new MyPlugin.Comets(\n  {\n    width: 800,\n    height: 300,\n    cometMaxSize: 581,\n    cometMinSize: 200,\n    meteoriteColors: [\"#FFFFFF\", \"#FFDC63\"],\n    auraIner: [\"#57DDBA\", \"#62D8B9\", \"#7CC8B3\"],\n    auraOuter: [\"#47F7C5\", \"#87B3C1\"],\n    items: 3,\n    repeats: 5,\n    duration: 8000,\n  },\n  {\n    selector: \".comet1\",\n  }\n);\n```\n\n### Comets Attrs\n\n| Name            |                 Are                  |          Values |\n| --------------- | :----------------------------------: | --------------: |\n| width           |          width of incident           |             num |\n| height          |          height of incident          |             num |\n| cometMaxSize    |      the maximum size of comets      |             num |\n| cometMinSize    |      the minimum size of comets      |             num |\n| meteoriteColors |   The list of colors of meteorite    | array of colors |\n| auraIner        | The list of colors for the iner aura | array of colors |\n| auraOuter       | The list of colors for the iner aura | array of colors |\n| items           |      how meny commet will fall       |             num |\n| repeats         |    how meny times clip wiil loop     |             num |\n| duration        |    max duration of one comet fall    |             num |\n\n## Stars\n\n```javascript\nconst stars = new MyPlugin.Stars(\n  {\n    width: 800,\n    height: 300,\n    starMaxSize: 60,\n    starMinSize: 15,\n    starColor: \"#F0F0F0\",\n    starGlowColor:\n      \"0 0 0 0 0.950946003   0 0 0 0 0.81265567   0 0 0 0 0.51528336  0 0 0 1 0\",\n    items: 15,\n    repeats: 5,\n    duration: 8000,\n  },\n  {\n    selector: \".comet2\",\n  }\n);\n```\n\n### Stars Attrs\n\n| Name          |                     Are                     |                     Values |\n| ------------- | :-----------------------------------------: | -------------------------: |\n| width         |              width of incident              |                        num |\n| height        |             height of incident              |                        num |\n| starMaxSize   |       the maximum size of each start        |                        num |\n| starMinSize   |       the minimum size of each start        |                        num |\n| starColor     |             the color of a star             |                      color |\n| starGlowColor |           the color of star clow            | sting of ColorMatrix value |\n| items         |                start number                 |                        num |\n| repeats       |        how meny times clip wiil loop        |                        num |\n| duration      | max duration of one full blinking animation |                        num |\n\n## License\n\n[MIT License](https://opensource.org/licenses/MIT)\n\n[\u003cimg src=\"https://presskit.donkeyclip.com/logos/donkey%20clip%20logo.svg\" width=250\u003e\u003c/img\u003e](https://donkeyclip.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonkeyclip%2Fmotorcortex-comets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonkeyclip%2Fmotorcortex-comets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonkeyclip%2Fmotorcortex-comets/lists"}