{"id":13565188,"url":"https://github.com/chenxuan0000/vue-canvas-effect","last_synced_at":"2026-03-11T19:31:58.096Z","repository":{"id":57394916,"uuid":"119151751","full_name":"chenxuan0000/vue-canvas-effect","owner":"chenxuan0000","description":":tada: vue canvas动效库","archived":false,"fork":false,"pushed_at":"2018-01-28T11:36:35.000Z","size":420,"stargazers_count":124,"open_issues_count":1,"forks_count":29,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-10-19T00:44:44.208Z","etag":null,"topics":["canvas","vue-components"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/chenxuan0000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-27T09:44:57.000Z","updated_at":"2024-09-05T02:06:06.000Z","dependencies_parsed_at":"2022-09-06T04:01:43.039Z","dependency_job_id":null,"html_url":"https://github.com/chenxuan0000/vue-canvas-effect","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chenxuan0000/vue-canvas-effect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenxuan0000%2Fvue-canvas-effect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenxuan0000%2Fvue-canvas-effect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenxuan0000%2Fvue-canvas-effect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenxuan0000%2Fvue-canvas-effect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenxuan0000","download_url":"https://codeload.github.com/chenxuan0000/vue-canvas-effect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenxuan0000%2Fvue-canvas-effect/sbom","scorecard":{"id":276642,"data":{"date":"2025-08-11","repo":{"name":"github.com/chenxuan0000/vue-canvas-effect","commit":"5920ce4433265189cb54d54a4c2f138d8382a9b9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-17T14:36:34.625Z","repository_id":57394916,"created_at":"2025-08-17T14:36:34.625Z","updated_at":"2025-08-17T14:36:34.625Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30395598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T18:46:22.935Z","status":"ssl_error","status_checked_at":"2026-03-11T18:46:17.045Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["canvas","vue-components"],"created_at":"2024-08-01T13:01:42.227Z","updated_at":"2026-03-11T19:31:58.076Z","avatar_url":"https://github.com/chenxuan0000.png","language":"Vue","funding_links":[],"categories":["Vue","UI Components [🔝](#readme)","UI组件","Components \u0026 Libraries","UI Components"],"sub_categories":["帆布","UI Components","Canvas"],"readme":"# vue-canvas-effect\n\u003e A simple, canvas effect collection for Vue.js\n\n[![Build Status](https://img.shields.io/appveyor/ci/gruntjs/grunt/master.svg) ![LICENSE MIT](https://img.shields.io/npm/l/express.svg)](https://www.npmjs.com/package/vue-canvas-effect) ![](https://img.shields.io/npm/v/vue-canvas-effect.svg)\n                                                                      \n\u003cp align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003cimg width=\"600\" src=\"./document/canvas-logo.svg\" alt=\"logo of vue-canvas-effect repository\"\u003e\n  \u003cbr\u003e\n\u003c/p\u003e\n                                            \n\u003cp align=\"center\"\u003e\n    🌾 \u003ca href=\"https://chenxuan0000.github.io/vue-canvas-effect/index.html\"\u003eonline demo\u003c/a\u003e |\n   📘 \u003ca href=\"./document/README.md\"\u003e中文文档\u003c/a\u003e \n\u003c/p\u003e\n                                   \n## Contents\n\n- [**`Browser support`**](#browser-support)\n- [**`Installation`**](#installation)\n- [**`Usage`**](#usage)\n    - [**`ES6`**](#es6)\n        - [**`On demand`**](#on-demand)\n        - [**`Fully import`**](#fully-import)\n    - [**`normal use`**](#normal-use)\n- [**`Component List`**](#component-list)\n    - [**`neon`**](#neon)\n    - [**`bubbles`**](#bubbles)\n- [**`Changelog`**](#changelog)\n- [**`Contribution`**](#contribution)\n- [**`TKS`**](#tks)\n\n## Browser support\n| [\u003cimg src=\"https://raw.githubusercontent.com/godban/browsers-support-badges/master/src/images/edge.png\" alt=\"IE\" width=\"16px\" height=\"16px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eIE | [\u003cimg src=\"https://raw.githubusercontent.com/godban/browsers-support-badges/master/src/images/firefox.png\" alt=\"Firefox\" width=\"16px\" height=\"16px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eFirefox | [\u003cimg src=\"https://raw.githubusercontent.com/godban/browsers-support-badges/master/src/images/chrome.png\" alt=\"Chrome\" width=\"16px\" height=\"16px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eChrome | [\u003cimg src=\"https://raw.githubusercontent.com/godban/browsers-support-badges/master/src/images/safari.png\" alt=\"Safari\" width=\"16px\" height=\"16px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eSafari | [\u003cimg src=\"https://raw.githubusercontent.com/godban/browsers-support-badges/master/src/images/safari-ios.png\" alt=\"iOS Safari\" width=\"16px\" height=\"16px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eiOS | [\u003cimg src=\"https://raw.githubusercontent.com/godban/browsers-support-badges/master/src/images/chrome-android.png\" alt=\"Chrome for Android\" width=\"16px\" height=\"16px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eAndroid |\n|:---------:|:---------:|:---------:|:---------:|:---------:|:---------:|\n| IE9+ | \u0026check;| \u0026check; | \u0026check; | \u0026check; | \u0026check; | \u0026check;\n\n## Installation\n\n### NPM\n\n```bash\nnpm install vue-canvas-effect --save\n```\n\n## Usage\n### ES6\n\n#### On demand\n\u003e Recommend ways\n\u003e First, install babel-plugin-import\n\n```javascript\nnpm install babel-plugin-import --save-dev\n```\n\n\u003e Then edit .babelrc\n\n```javascript\n// .babelrc\n{\n  \"plugins\": [[\"import\", {\n    \"libraryName\": \"vue-canvas-effect\",\n    \"libraryDirectory\": \"src/components\"\n  }]]\n}\n```\n\u003e Next, if you need neon, edit main.js\n\n```javascript\nimport Vue from 'vue'\nimport {neon} from 'vue-canvas-effect';\nVue.component(neon.name, neon);\n`or`\nVue.component('customName', neon);\nnew Vue({\n  el: '#app',\n  render: h =\u003e h(App)\n})\n```\n\n#### Fully import\n\u003e no recommend ways\n\n```javascript\nimport Vue from 'vue'\nimport vueCanvas from 'vue-canvas-effect';\nVue.use(vueCanvas)\nnew Vue({\n  el: '#app',\n  render: h =\u003e h(App)\n})\n```\n\n### normal use\n\u003e script tag\n\n```html\n\u003chtml\u003e\n\u003chead\u003e\n  ...\n\u003c/head\u003e\n\u003cbody\u003e\n   \u003cdiv id=\"app\"\u003e\n        \u003cneon-effect\u003e\u003c/neon-effect\u003e\n   \u003c/div\u003e\n   \u003cscript src=\"https://cdn.bootcss.com/vue/2.5.9/vue.js\"\u003e\u003c/script\u003e\n   \u003cscript src=\"../dist/neon.min.js\"\u003e\u003c/script\u003e\n   \u003cscript\u003e\n      new Vue({\n           el: '#app'\n        })\n   \u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Component List\n### neon\n- [neon-demo](https://chenxuan0000.github.io/vue-canvas-effect/index.html#/router_1)\n\u003e name: neonEffect\n```html\n// default tagName use\n\u003cneon-effect :options=\"options\"\u003e\u003c/neon-effect\u003e\n```\n```javascript\n//default options\n        {\n          len: 20, //The unilateral length of the pentagon\n          count: 50, //How many lines overlap\n          rate: 20, //rate the smaller fast\n          dieChance: 0.05, //The chance to redraw a single painting failure.\n          sparkChance: 0.1, //[0,1] The larger the figure, the larger the pentagon.\n          sparkDist: 10, //Flash point distance.\n          sparkSize: 2,//Flash point size.\n          contentLight: 60, // [0,100] Brightness of color block\n          shadowToTimePropMult: 6, //The shadow size of the inner ring of the pentagon.\n          bgColorArr: [0, 0, 0] //Background color array\n        }\n```\n\n### bubbles\n- [bubbles-demo](https://chenxuan0000.github.io/vue-canvas-effect/index.html#/router_2)\n\u003e name: bubblesEffect\n```html\n// default tagName use\n\u003cbubbles-effect :options=\"options\"\u003e\u003c/bubbles-effect\u003e\n```\n```javascript\n//default options\n        {\n          color: 'rgba(225,225,225,0.5)', //Bubble color\n          radius: 15, //Bubble radius\n          densety: 0.3, // The larger the bubble density, the greater the density (suggest no more than 1).\n          clearOffset: 0.2 // The larger the bubble disappears [0-1], the longer it disappears.\n        }\n```\n\n## Changelog\nSee the GitHub [release history](https://github.com/chenxuan0000/vue-canvas-effect/releases).\n\n## Contribution\nWelcome to give some Suggestions and optimizations, and look forward to your `Pull Request`.\n\n## TkS\n[circleMagic](https://github.com/FreAK19/circleMagic.js)\n\n## License\nvue-seamless-scroll is open source and released under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenxuan0000%2Fvue-canvas-effect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenxuan0000%2Fvue-canvas-effect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenxuan0000%2Fvue-canvas-effect/lists"}