{"id":15883961,"url":"https://github.com/yousufkalim/angle-between-landmarks","last_synced_at":"2025-04-02T15:41:48.924Z","repository":{"id":64844244,"uuid":"577703045","full_name":"yousufkalim/angle-between-landmarks","owner":"yousufkalim","description":"This library calculates the angle between three landmarks","archived":false,"fork":false,"pushed_at":"2023-01-16T18:37:52.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-26T13:20:37.281Z","etag":null,"topics":["angle","calculator","degrees","landmarks"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/yousufkalim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOGS.md","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":"2022-12-13T10:35:44.000Z","updated_at":"2023-06-09T11:39:42.000Z","dependencies_parsed_at":"2023-02-10T05:31:24.466Z","dependency_job_id":null,"html_url":"https://github.com/yousufkalim/angle-between-landmarks","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yousufkalim%2Fangle-between-landmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yousufkalim%2Fangle-between-landmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yousufkalim%2Fangle-between-landmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yousufkalim%2Fangle-between-landmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yousufkalim","download_url":"https://codeload.github.com/yousufkalim/angle-between-landmarks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246847054,"owners_count":20843438,"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":["angle","calculator","degrees","landmarks"],"created_at":"2024-10-06T04:41:49.432Z","updated_at":"2025-04-02T15:41:48.894Z","avatar_url":"https://github.com/yousufkalim.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angle Between Landmarks\n\nThis is a lightweight library that is capable to calculate the degree angle between three landmarks.\n\n![Angle Picture](./assets/angles.jpg)\n\n**Note:** \"Landmarks2\" must be the origin as shown in the picture and all the landmarks must be normalized according to the screen.\n\n## Installation\n\nInstall angle-between-landmarks with npm/yarn\n\n```bash\n  npm install angle-between-landmarks // npm\n  yarn add angle-between-landmarks // yarn\n```\n\n## Usage/Examples\n\n#### Import\n\n```javascript\nimport findAngle from 'angle-between-landmarks'; // ES6\nconst findAngle = require('angle-between-landmarks'); // CommonJS\n```\n\n#### Data\n\n```javascript\nconst landmarks1 = { x: 0, y: 0 };\nconst landmarks2 = { x: 1, y: 0 }; // Middle one must be the origin\nconst landmarks3 = { x: 1, y: 1 };\nconst opt = { small: false, round: true} // default { small: false, round: true }\n```\n\n#### Usage\n\n```javascript\nlet anngle = findAngle(landmarks1, landmarks2, landmarks3, opt);\n```\n\n## Contributing\n\n- Fork it!\n- Create your feature branch: `git checkout -b my-new-feature`\n- Commit your changes: `git commit -am 'Add some feature'`\n- Push to the branch: `git push origin my-new-feature`\n- Submit a pull request :D\n\n## Author\n\n**angle-between-landmarks** © [Yousuf](https://github.com/yousufkalim)  \nAuthored and maintained by Yousuf Kalim.\n\n\u003e GitHub [@yousufkalim](https://github.com/yousufkalim) · LinkedIn [@yousufkalim](https://www.linkedin.com/in/yousufkalim/)\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyousufkalim%2Fangle-between-landmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyousufkalim%2Fangle-between-landmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyousufkalim%2Fangle-between-landmarks/lists"}