{"id":16759415,"url":"https://github.com/cleoold/circulars_space","last_synced_at":"2025-08-23T14:34:41.592Z","repository":{"id":126543412,"uuid":"203035812","full_name":"cleoold/circulars_space","owner":"cleoold","description":"a (non)uniform circular(elliptic) motion demo in physics!","archived":false,"fork":false,"pushed_at":"2020-08-27T06:10:00.000Z","size":813,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T08:28:35.325Z","etag":null,"topics":["animation","physics","vanilla-javascript"],"latest_commit_sha":null,"homepage":"https://cleoold.github.io/circulars_space","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cleoold.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-18T17:26:55.000Z","updated_at":"2020-08-27T06:10:03.000Z","dependencies_parsed_at":"2023-06-17T04:45:27.114Z","dependency_job_id":null,"html_url":"https://github.com/cleoold/circulars_space","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cleoold/circulars_space","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleoold%2Fcirculars_space","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleoold%2Fcirculars_space/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleoold%2Fcirculars_space/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleoold%2Fcirculars_space/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cleoold","download_url":"https://codeload.github.com/cleoold/circulars_space/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleoold%2Fcirculars_space/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271752125,"owners_count":24814750,"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-23T02:00:09.327Z","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":["animation","physics","vanilla-javascript"],"created_at":"2024-10-13T04:08:05.069Z","updated_at":"2025-08-23T14:34:41.567Z","avatar_url":"https://github.com/cleoold.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# interactive circular/elliptic motion demo\n\n* uniform circular motion\n\n![uniform circular motion](https://cleoold.com/wp-content/uploads/2019/08/ffawvv.gif)\n\n* many uniform circular motions\n\n![uniform circular motion](https://cleoold.com/wp-content/uploads/2019/08/gsgeef.gif)\n\n* many circular motions with varying focus length \u0026 speed\n\n![elliptic motion](https://cleoold.com/wp-content/uploads/2019/08/dadasdsa.gif)\n\n* elliptic motion and harmonic motion with rotation\n\n![elliptic motion](https://cleoold.com/wp-content/uploads/2019/08/dawbsd.gif)\n\n* real elliptic motion (planet models)\n\n![elliptic motion](https://cleoold.com/wp-content/uploads/2019/08/dafwwg.gif)\n\nThis is the elliptic motion version.\n\nuniform (probably not so uniform because it supports linear acceleration) circular motion demo page with auto div scaling!\n\nsee demo at https://cleoold.github.io/uniform_circular_motion/index.html\n\n#### Interesting setups\n\n* two uniform circular motions\n  * Block 1: \n    semi X axis:166, Rx Δ: 0, semi Y axis: 166, Ry Δ: 0, period: 10, T Δ: 0, rotate angle: 0, α Δ: 0, rotate around: origin\n  * Block 2:\n    96, 0, 96, 0, 10, 0, 0, 0, origin\n* two springs perpendicular to each other and rotating\n  * Block 1:\n    162, 0, 0, 0, 5, 0, 0, 10, origin\n  * Block 2:\n    0, 0, 162, 0, 5, 0, 0, 10, origin\n* one oscillation and a bigger rotating ellipse\n  * Block 1:\n    50, 0, 0, 0, 1, 0, 0, 0, origin\n  * Block 2:\n    180, 0, 80, 0, 5, 0, 0, 30, origin\n* chaotic comet with unknown trajectory\n  * Block 1:\n    80, 0, 80, -10, 2, 0, 0, 30, focus\n* planets\n  * Block 1: 50, 0, 50, 0, 5, 0, 0, 0, origin\n  * Block 2: 60, 0, 59, 0, 10, 0, 0, 0, focus\n  * Block 3: 80, 0, 75, 0, 22, 0, 0, 0, focus\n  * Block 4: 90, 0, 82, 0, 5, 0, 0, 0, focus\n  * Block 5: 162, 0, 122, 0, 5, 0, 0, 0, focus\n  * Block 6: 271, 0, 271, 0, -10, 0, 0, 0, origin\n\n##### Some special points to point:\n\n* The size of the container (which contains balls) will change based on the change of the window size while the ball preserves its semi-X-axis and semi-Y-axis (or radius) of circular motion. If the ball hits the boundary it will stop.\n* The layout is optimized(?) for the screen size of the device.\n* The `X-axis` and `Y-axis` are un-settable. Instead the offset can be set by dragging the ball.\n* When reset, the semi-X-axis and semi-Y-axis of circular motion is set default to half of the container length.\n* If the semi-X-axis or semi-Y-axis changes when the ball is in motion, the text in the `semi-X-axis(px)` or `semi-Y-axis(px)` box does not change; but when the user clicks the text box, it changes to the newest value. Same for period.\n* `one-click` options are hidden if there is only one ball present.\n* if `star background` is enabled, overflowing contents in the container will display.\n\n#### Not compatible with\n* Dark reader (trajectory randomly goes missing)\n\n\n\n\n\n#### License\n* [CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleoold%2Fcirculars_space","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleoold%2Fcirculars_space","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleoold%2Fcirculars_space/lists"}