{"id":26171527,"url":"https://github.com/achnitreda/graphql","last_synced_at":"2026-02-13T08:14:00.926Z","repository":{"id":281839215,"uuid":"942596602","full_name":"achnitreda/GraphQL","owner":"achnitreda","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-11T11:37:47.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T12:33:18.650Z","etag":null,"topics":["graphql","jwt"],"latest_commit_sha":null,"homepage":"https://graph-ql-amber.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/achnitreda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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}},"created_at":"2025-03-04T11:01:40.000Z","updated_at":"2025-03-11T11:37:50.000Z","dependencies_parsed_at":"2025-03-11T12:44:08.232Z","dependency_job_id":null,"html_url":"https://github.com/achnitreda/GraphQL","commit_stats":null,"previous_names":["achnitreda/graphql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/achnitreda%2FGraphQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/achnitreda%2FGraphQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/achnitreda%2FGraphQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/achnitreda%2FGraphQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/achnitreda","download_url":"https://codeload.github.com/achnitreda/GraphQL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243099713,"owners_count":20236254,"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":["graphql","jwt"],"created_at":"2025-03-11T19:34:59.424Z","updated_at":"2026-02-13T08:14:00.889Z","avatar_url":"https://github.com/achnitreda.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL\n\n- [demo](https://graph-ql-amber.vercel.app/)\n\n- xScale:\n\n```\nExample:\n\nLet's say your date range is from January 1 to December 31\nYour chart width is 400 pixels\nFor a date of July 1 (halfway through the year):\n\n(July 1 - Jan 1) / (Dec 31 - Jan 1) ≈ 0.5 (50% through the date range)\n0.5 * 400 = 200 pixels from the left edge\n```\n\n- yScale:\n\n```\nExample:\n\nLet's say your maximum XP is 1000\nYour chart height is 240 pixels\nFor an XP value of 250:\n\n250 / 1000 = 0.25 (25% of maximum XP)\n0.25 * 240 = 60 pixels\n240 - 60 = 180 pixels from the top edge\n```\n\n- Math.cos and Math.sin:\n```\nIf radius = 100:\n\nAt 0 degrees: cos = 1, sin = 0\nPoint is at (100, 0) = right edge\n\nAt 90 degrees: cos = 0, sin = 1\nPoint is at (0, 100) = bottom edge\n\nAt 180 degrees: cos = -1, sin = 0\nPoint is at (-100, 0) = left edge\n\nAt 270 degrees: cos = 0, sin = -1\nPoint is at (0, -100) = top edge\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fachnitreda%2Fgraphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fachnitreda%2Fgraphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fachnitreda%2Fgraphql/lists"}