{"id":16474973,"url":"https://github.com/miaowing/siren-wave","last_synced_at":"2025-10-13T23:22:57.187Z","repository":{"id":57361908,"uuid":"72424200","full_name":"miaowing/siren-wave","owner":"miaowing","description":"A graphic wave animational effect library implemented by canvas.","archived":false,"fork":false,"pushed_at":"2018-01-20T07:11:56.000Z","size":43,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-14T11:23:42.352Z","etag":null,"topics":["canvas","multi-waves","wave"],"latest_commit_sha":null,"homepage":"https://github.com/miaowing/siren-wave","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/miaowing.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":"2016-10-31T10:00:35.000Z","updated_at":"2020-07-23T09:05:57.000Z","dependencies_parsed_at":"2022-09-26T16:40:41.372Z","dependency_job_id":null,"html_url":"https://github.com/miaowing/siren-wave","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/miaowing/siren-wave","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miaowing%2Fsiren-wave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miaowing%2Fsiren-wave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miaowing%2Fsiren-wave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miaowing%2Fsiren-wave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miaowing","download_url":"https://codeload.github.com/miaowing/siren-wave/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miaowing%2Fsiren-wave/sbom","scorecard":{"id":640509,"data":{"date":"2025-08-11","repo":{"name":"github.com/miaowing/siren-wave","commit":"4f45f263a90ed8bce68a9761a648b78ce1a5ed9f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/11 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":"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":"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":"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":"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":"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":"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":"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"}},{"name":"Vulnerabilities","score":0,"reason":"25 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-qh2h-chj9-jffq","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-hxm2-r34f-qmc5","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-w9mr-4mfr-499f","Warn: Project is vulnerable to: GHSA-6g33-f262-xjp4","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T10:34:21.883Z","repository_id":57361908,"created_at":"2025-08-21T10:34:21.883Z","updated_at":"2025-08-21T10:34:21.883Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017243,"owners_count":26086015,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","multi-waves","wave"],"created_at":"2024-10-11T12:35:22.674Z","updated_at":"2025-10-13T23:22:57.165Z","avatar_url":"https://github.com/miaowing.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Siren Wave  \nThis is a graphic wave animational effect library implemented by canvas.\n\n## Usage\n```\n$ npm install siren-wave --save\n```\nor\n```html\n\u003cscript src=\"./node_modules/siren_wave/dist/siren-wave.min.js\"\u003e\u003c/script\u003e\n```\n\n```javascript\nvar Siren = require('siren-wave');\n\nvar siren = new Siren({\n    target: 'wave',\n    height: 200,\n    color: '#96ddf6',\n    width: 600,\n    waves: [\n        // small\n        {\n            alpha: 0.1,\n            yOffset: 40,\n            speed: 0.02 * 0.4,\n            angleStep: 0.0075,\n            peak: 35,\n            isPositive: true\n        },\n        // large\n        {\n            alpha: 0.1,\n            yOffset: -20,\n            speed: 0.05 * 0.4,\n            angleStep: 0.0055,\n            peak: 45,\n            isPositive: true\n        },\n        // middle\n        {\n            alpha: 0.2,\n            yOffset: 0,\n            speed: 0.025 * 0.4,\n            angleStep: 0.0055,\n            peak: 30,\n            isPositive: true\n        }\n    ]\n});\n\nsiren.draw();\n```\n## Exapmle\n* [demo](http://miaow.io/siren-wave/example/index.html) \n* [i5SING](http://i5sing.com) \n\n## API\n\n### new Siren(options)\n##### 1. target\nthe element id.\n\n##### 2. width [number]\nit's optional, if it does not exist, the canvas's width will be it parent's width.\n\n##### 3. height [number]\nit's optional.\n\n##### 4. color [#rgb]\nwave's color.\n\n##### 5. bgColor [#rgb]\nbackground color.\n\n##### 6. waves [array]\n\n### wave\n##### 1. alpha [number]\nthe alpha of wave.\n\n##### 2. speed [number]\nwave's speed.\n\n##### 3. angleStep [number]\nwave's angle, default is 0.01.\n\n##### 4. peak [number]\nwave's height.\n\n##### 5. isPositive [boolean]\nwave moves from left to right or moves right to left.\n\n### siren.draw()\nstart wave animation.\n\n### siren.stop();\nstop wave animation.\n\n### siren.update(options)\nupdate some params.\n\n## Feedback\nIf you any questions, use [Issues](https://github.com/miaowing/siren-wave/issues).\n\nSina Weibo: [@miaowingz](http://weibo.com/zfeng217)\n\n## License\nMIT Licence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiaowing%2Fsiren-wave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiaowing%2Fsiren-wave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiaowing%2Fsiren-wave/lists"}