{"id":29201943,"url":"https://github.com/bdr-pro/3blue1brownmathsin","last_synced_at":"2025-07-02T12:36:35.682Z","repository":{"id":294303084,"uuid":"986552119","full_name":"BDR-Pro/3blue1BrownMathSin","owner":"BDR-Pro","description":"testing 3blue1brown pip lib","archived":false,"fork":false,"pushed_at":"2025-05-19T19:31:08.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T20:39:42.169Z","etag":null,"topics":["mathematical-modelling","mathematics"],"latest_commit_sha":null,"homepage":"","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/BDR-Pro.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}},"created_at":"2025-05-19T19:28:13.000Z","updated_at":"2025-05-19T19:33:07.000Z","dependencies_parsed_at":"2025-05-20T02:01:51.814Z","dependency_job_id":null,"html_url":"https://github.com/BDR-Pro/3blue1BrownMathSin","commit_stats":null,"previous_names":["bdr-pro/3blue1brownmathsin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BDR-Pro/3blue1BrownMathSin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2F3blue1BrownMathSin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2F3blue1BrownMathSin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2F3blue1BrownMathSin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2F3blue1BrownMathSin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BDR-Pro","download_url":"https://codeload.github.com/BDR-Pro/3blue1BrownMathSin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2F3blue1BrownMathSin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263141283,"owners_count":23420046,"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":["mathematical-modelling","mathematics"],"created_at":"2025-07-02T12:36:32.626Z","updated_at":"2025-07-02T12:36:35.667Z","avatar_url":"https://github.com/BDR-Pro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Eaxmple using 3Blue1Brown Animation\n\n## 📈 Plotting `sin(x)` with Manim (No LaTeX Required)\n\nThis project demonstrates how to animate the mathematical function `f(x) = sin(x)` using the [Manim Community Edition](https://docs.manim.community). The animation includes:\n\n- Coordinate axes\n- A live-drawn sine wave\n- A simple `sin(x)` label rendered without LaTeX\n\n## 🧪 What You’ll See\n\n[Watch Here](https://github.com/BDR-Pro/3blue1BrownMathSin/blob/main/media/videos/plot_sin/480p15/PlotSin.mp4)\n\nThe animation smoothly draws the sine function on a graph using Manim's `Axes` and `plot()` methods.\n\n---\n\n## 🛠 How to Run\n\n1. Clone this repo or copy the code into a `plot_sin.py` file.\n2. Open a terminal and run:\n\n```bash\npython -m manim -pql plot_sin.py PlotSin\n````\n\nThis will generate and preview a video in the `media/videos` folder.\n\n---\n\n## 📦 Dependencies\n\nMake sure you have the following installed:\n\n```bash\npip install manim numpy\n```\n\n---\n\n## 💡 Code Overview\n\n```python\naxes = Axes(...)\ngraph = axes.plot(lambda x: np.sin(x))\nlabel = Text(\"sin(x)\").next_to(graph, RIGHT)\nself.play(Create(axes), Create(graph), Write(label))\n```\n\n---\n\u003e [!NOTE]\n\u003e 💡 This animation uses `Text()` instead of `Tex()`, so **you don’t need a full LaTeX setup**.\n\u003e It works out of the box with **TinyTeX** or even with **no LaTeX installed at all**.\n\u003e\n\u003e 🔢 If you want to display math using LaTeX (e.g. `\\\\sin(x)`), you’ll need to install [TinyTeX](https://yihui.org/tinytex/) or TeX Live, and make sure both `pdflatex` and `dvisvgm` are available in your system `PATH`.\n\n---\n\n## 🎬 Output\n\nYour video will be saved to:\n\n```txt\n./media/videos/plot_sin/480p15/PlotSin.mp4\n```\n\n---\n\n## 🔄 Next Steps\n\nTry modifying the code to:\n\n- Plot other functions (`cos(x)`, `x²`, `e^x`)\n- Animate function transformations\n- Add axis ticks and gridlines\n- Use `Tex()` for math-mode labels if LaTeX is available\n\n---\n\\\n*Happy animating! 🎥✨*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdr-pro%2F3blue1brownmathsin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdr-pro%2F3blue1brownmathsin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdr-pro%2F3blue1brownmathsin/lists"}