{"id":26930350,"url":"https://github.com/blobbybilb/why-animate","last_synced_at":"2025-04-02T06:19:05.526Z","repository":{"id":225754957,"uuid":"766769803","full_name":"blobbybilb/why-animate","owner":"blobbybilb","description":"Simple JS animations. If you can use a graphing calculator, you can use why?animate.","archived":false,"fork":false,"pushed_at":"2024-03-04T04:59:17.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-30T02:14:44.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/blobbybilb.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}},"created_at":"2024-03-04T04:58:11.000Z","updated_at":"2024-03-04T04:59:04.000Z","dependencies_parsed_at":"2024-03-04T05:58:51.479Z","dependency_job_id":null,"html_url":"https://github.com/blobbybilb/why-animate","commit_stats":null,"previous_names":["blobbybilb/why-animate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blobbybilb%2Fwhy-animate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blobbybilb%2Fwhy-animate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blobbybilb%2Fwhy-animate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blobbybilb%2Fwhy-animate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blobbybilb","download_url":"https://codeload.github.com/blobbybilb/why-animate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763877,"owners_count":20829800,"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":[],"created_at":"2025-04-02T06:19:05.003Z","updated_at":"2025-04-02T06:19:05.517Z","avatar_url":"https://github.com/blobbybilb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# why?animate\n\nSimple JS animations. If you can use a graphing calculator, you can use why?animate.\n\n(incomplete, currently only supports moving things around)\n\nExamples:\n\n```js\n// blue square moving anti-clockwise in a circle\nnew Particle()\n  .rectangle()\n  .color(\"blue\")\n  .Y((t) =\u003e Math.sin(t))\n  .X((t) =\u003e Math.cos(t))\n  .position()\n  .show()\n  .start()\n\n// white square still at center of screen\nnew Particle()\n  .rectangle()\n  .color(\"white\")\n  .Y((t) =\u003e 0)\n  .X((t) =\u003e 0)\n  .position()\n  .show()\n  .start()\n\n// blue square still at bottom left corner (of the largest square that can be fit on screen)\nnew Particle()\n  .rectangle()\n  .color(\"blue\")\n  .Y((t) =\u003e -1)\n  .X((t) =\u003e -1)\n  .position()\n  .show()\n  .start()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblobbybilb%2Fwhy-animate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblobbybilb%2Fwhy-animate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblobbybilb%2Fwhy-animate/lists"}