{"id":15282463,"url":"https://github.com/dougreeder/aframe-dial","last_synced_at":"2025-08-20T07:15:47.678Z","repository":{"id":57174184,"uuid":"341263012","full_name":"DougReeder/aframe-dial","owner":"DougReeder","description":"A component with a transparent bezel texture and dynamic pie-wedge or circular bar shape. Suitable for a timer or gauge. Packaged for the A-Frame framework for WebXR.","archived":false,"fork":false,"pushed_at":"2024-08-06T23:47:07.000Z","size":3903,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T01:07:00.470Z","etag":null,"topics":["aframe-vr","aframevr","webxr"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/DougReeder.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":"2021-02-22T16:25:21.000Z","updated_at":"2024-08-06T23:47:09.000Z","dependencies_parsed_at":"2023-02-17T14:00:50.480Z","dependency_job_id":null,"html_url":"https://github.com/DougReeder/aframe-dial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DougReeder/aframe-dial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DougReeder%2Faframe-dial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DougReeder%2Faframe-dial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DougReeder%2Faframe-dial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DougReeder%2Faframe-dial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DougReeder","download_url":"https://codeload.github.com/DougReeder/aframe-dial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DougReeder%2Faframe-dial/sbom","scorecard":{"id":41983,"data":{"date":"2025-08-11","repo":{"name":"github.com/DougReeder/aframe-dial","commit":"fcd362b36d7a6e33b3beda0b5c20b031a8528d29"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/20 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":"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":"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":"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":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986"],"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-14T21:47:18.203Z","repository_id":57174184,"created_at":"2025-08-14T21:47:18.203Z","updated_at":"2025-08-14T21:47:18.203Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271281097,"owners_count":24732131,"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-08-20T02:00:09.606Z","response_time":69,"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":["aframe-vr","aframevr","webxr"],"created_at":"2024-09-30T14:26:19.076Z","updated_at":"2025-08-20T07:15:47.629Z","avatar_url":"https://github.com/DougReeder.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dial for A-Frame WebXR\n\nA component with a transparent bezel texture and dynamic pie-wedge or circular bar shape. Suitable for a timer, gauge, or button with cooldown timer.\nIt ignores scene lighting.\nPackaged for the [A-Frame](https://aframe.io) framework for [WebXR](https://immersive-web.github.io/).\n\n![sample screenshot](assets/dial-screenshot.png)\n\n[live example scene](https://dougreeder.github.io/aframe-dial/example.html) - the rightmost dial is a clickable button\n\n\nInclude using\n```html\n\u003cscript src=\"https://unpkg.com/aframe-dial@^1.2.1/dist/dial.js\"\u003e\u003c/script\u003e\n```\n\n\nBasic use:\n```html\n\u003ca-assets\u003e\n    \u003cimg id=\"bezel\" src=\"./assets/bezel.png\"\u003e\n\u003c/a-assets\u003e\n\u003ca-entity dial=\"size:0.30; src:#bezel; radius:0.95; thetaStart:135; thetaEnd:315;\"\u003e\u003c/a-entity\u003e\n```\n\n## Properties\nTo make the dial increase counter-clockwise, set scale=\"-1 1 1\". To put 0 at the bottom, set scale=\"1 -1 1\".  You may need to reverse the src image also.\n\nAll properties may be changed on the fly.\n\n### size\nThe height and width, in meters.\ndefault **0.25**\n\n### src\nAn image of the bezel, numerals, screws, scratches in the glass, etc., or icon if you're using this as a button.\nShould be opaque at *radius* distance from center, to hide the edge of the pie wedge (or circular bar) and background.\nShould be mostly transparent in the center, to let the wedge and background show.\nImage should be square.\n\n### radius\nouter radius of pie wedge (or circular bar) and background disk, *relative to overall size of dial*.  default **0.98**\n\n### innerRadius\nLeave at 0 for a pie wedge, set 0 \u003c innerRadius \u003c radius to generate a circular bar instead of a pie wedge.\ndefault **0**\n\n### thetaStart\nstart angle of pie wedge (or circular bar), in degrees clockwise from top. May be negative. default **0**\n\n### thetaEnd\nend angle of pie wedge (or circular bar), in degrees clockwise from top. May be negative. default **230**\n\n### wedgeColor\ncolor of pie wedge (or circular bar), default **black**\n\n### backgroundColor\ncolor of pie background, default **white**\n\n\n## License\n\nThis program is free software and is distributed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdougreeder%2Faframe-dial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdougreeder%2Faframe-dial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdougreeder%2Faframe-dial/lists"}