{"id":49308854,"url":"https://github.com/casl0/manim-geodesic","last_synced_at":"2026-04-26T11:03:49.902Z","repository":{"id":344829199,"uuid":"1183309155","full_name":"CASL0/manim-geodesic","owner":"CASL0","description":"測地線","archived":false,"fork":false,"pushed_at":"2026-03-16T13:45:32.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-17T01:44:15.421Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/CASL0.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-16T13:34:15.000Z","updated_at":"2026-03-16T13:45:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/CASL0/manim-geodesic","commit_stats":null,"previous_names":["casl0/manim-geodesic"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/CASL0/manim-geodesic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CASL0%2Fmanim-geodesic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CASL0%2Fmanim-geodesic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CASL0%2Fmanim-geodesic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CASL0%2Fmanim-geodesic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CASL0","download_url":"https://codeload.github.com/CASL0/manim-geodesic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CASL0%2Fmanim-geodesic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32294592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-04-26T11:03:47.276Z","updated_at":"2026-04-26T11:03:49.889Z","avatar_url":"https://github.com/CASL0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# manim-geodesic\n\n[Manim Community](https://www.manim.community/) を使って球面（S²）上の測地線（大円）を 3D アニメーションで可視化するツールです。\n\n## 必要環境\n\n- Python 3.14+\n- [uv](https://docs.astral.sh/uv/)\n- Cairo（`brew install cairo`）\n- pkg-config（`brew install pkg-config`）\n\n## セットアップ\n\n```bash\ngit clone \u003crepo\u003e\ncd manim-geodesic\nuv sync\nsource .venv/bin/activate\n```\n\n## 開発ツール\n\n```bash\nblack main.py      # フォーマット\npyright main.py    # 型チェック\npylint main.py     # Lint\n```\n\n## 実行\n\n```bash\n# 低画質・プレビュー付き（開発時）\nmanim -pql main.py SphereGeodesics\n\n# 高画質\nmanim -pqh main.py SphereGeodesics\n```\n\n出力動画は `media/videos/main/\u003c解像度\u003e/SphereGeodesics.mp4` に生成されます。\n\n## パラメータ\n\n`main.py` 冒頭の定数を編集して再レンダリングするだけで見た目を変更できます。\n\n| 変数                              | 型                     | 説明                              | デフォルト        |\n| --------------------------------- | ---------------------- | --------------------------------- | ----------------- |\n| `RADIUS`                          | `float`                | 球の半径                          | `2.5`             |\n| `PHI_START`                       | `float`                | 出発点の極角 （0=北極, π/2=赤道） | `PI/3`            |\n| `THETA_START`                     | `float`                | 出発点の方位角                    | `PI/4`            |\n| `N_GEODESICS`                     | `int`                  | 描画する測地線の本数              | `8`               |\n| `STROKE_WIDTH`                    | `int`                  | 測地線の線幅                      | `3`               |\n| `SHOW_GRID`                       | `bool`                 | 緯線・経線グリッドの表示          | `True`            |\n| `SHOW_AXES`                       | `bool`                 | 座標軸の表示                      | `True`            |\n| `CAMERA_ROTATION_RATE`            | `float`                | カメラ回転速度（0 で停止）        | `0.15`            |\n| `WAIT_TIME`                       | `int`                  | 回転後の待機時間（秒）            | `12`              |\n| `GEODESIC_COLORS`                 | `list[ManimColor]`     | 測地線の色リスト（循環使用）      | 虹色8色           |\n| `SPHERE_COLOR` / `SPHERE_OPACITY` | `ManimColor` / `float` | 球面の色・透明度                  | `BLUE_E` / `0.25` |\n| `GRID_COLOR` / `GRID_OPACITY`     | `ManimColor` / `float` | グリッドの色・透明度              | `BLUE_B` / `0.4`  |\n\n## 仕組み\n\n球面上の測地線は大円です。出発点 **p**（単位ベクトル）と接ベクトル **v**（**p** に直交）を与えると、\n\n```math\nγ(t) = r · (cos(t) · p + sin(t) · v),  t ∈ [0, 2π]\n```\n\nで完全な大円が得られます。`N_GEODESICS` 本の測地線は接平面内の方向角を `[0, π)` で等分割して生成します（大円は向きを反転すると同じ曲線になるため）。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasl0%2Fmanim-geodesic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasl0%2Fmanim-geodesic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasl0%2Fmanim-geodesic/lists"}