{"id":17319874,"url":"https://github.com/saransh-cpp/riemapp","last_synced_at":"2025-04-14T13:56:47.045Z","repository":{"id":60351137,"uuid":"540904220","full_name":"Saransh-cpp/riemapp","owner":"Saransh-cpp","description":"Manim powered complex mappings","archived":false,"fork":false,"pushed_at":"2024-10-07T11:59:13.000Z","size":187,"stargazers_count":8,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T21:54:06.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://riemapp.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Saransh-cpp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-09-24T17:04:36.000Z","updated_at":"2024-10-16T02:03:48.000Z","dependencies_parsed_at":"2023-12-11T13:11:47.397Z","dependency_job_id":"77f391b3-b092-4bb3-b042-a3e5efe64790","html_url":"https://github.com/Saransh-cpp/riemapp","commit_stats":{"total_commits":148,"total_committers":8,"mean_commits":18.5,"dds":0.4932432432432432,"last_synced_commit":"550dbc23385eb252a9129004a78630c3b5fa66fc"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saransh-cpp%2Friemapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saransh-cpp%2Friemapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saransh-cpp%2Friemapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saransh-cpp%2Friemapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saransh-cpp","download_url":"https://codeload.github.com/Saransh-cpp/riemapp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248893355,"owners_count":21179005,"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":"2024-10-15T13:27:50.201Z","updated_at":"2025-04-14T13:56:47.014Z","avatar_url":"https://github.com/Saransh-cpp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# riemapp\n\n[![CI](https://github.com/Saransh-cpp/riemapp/actions/workflows/ci.yml/badge.svg)](https://github.com/Saransh-cpp/riemapp/actions/workflows/ci.yml)\n[![Documentation Status](https://readthedocs.org/projects/riemapp/badge/?version=latest)](https://riemapp.readthedocs.io/en/latest/?badge=latest)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/Saransh-cpp/riemapp/main.svg)](https://results.pre-commit.ci/latest/github/Saransh-cpp/riemapp/main)\n[![codecov](https://codecov.io/gh/Saransh-cpp/riemapp/branch/main/graph/badge.svg?token=L6ObHKhaZ7)](https://codecov.io/gh/Saransh-cpp/riemapp)\n[![discussion](https://img.shields.io/static/v1?label=Discussions\u0026message=Ask\u0026color=blue\u0026logo=github)](https://github.com/Saransh-cpp/riemapp/discussions)\n\n[![Python Versions](https://img.shields.io/pypi/pyversions/riemapp)](https://pypi.org/project/riemapp/)\n[![Package Version](https://badge.fury.io/py/riemapp.svg)](https://pypi.org/project/riemapp/)\n[![Downloads](https://static.pepy.tech/badge/riemapp)](https://pepy.tech/project/riemapp)\n![License](https://img.shields.io/github/license/Saransh-cpp/riemapp?color=blue)\n[![black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\nriemapp is a fast, easy-to-use, minimal library for Python 3.7+ that aliases\n[manim](https://github.com/ManimCommunity/manim) 0.16.0+ functions for\nvisualising animated and intuitive complex mappings (transformations from the\nreal plane to the complex plane) for various shapes and real-valued functions in\ntwo dimensions. It uses a minimum number of dependencies through\n[FFmpeg](https://github.com/FFmpeg/FFmpeg) and\n[pangocairo](https://gitlab.gnome.org/GNOME/pango) on Linux.\n\nUsers and learners may use riemapp to:\n\n1. Plot (user-defined)\n   - Points\n   - Lines\n   - Triangles\n   - Squares\n   - Rectangles\n   - Other regular polygons\n   - Circles\n   - Irregular polygons\n   - …and so on\n2. Create smooth, precise animations for plotted figures and map them on the\n   Argand plane according to user-defined complex functions.\n3. Save these animations and play them in the default video player available\n\n## Structure\n\n- Right now, `riemapp` aliases the geometries provided by `manim` under\n  `riemapp.geometry`. Users can either use these alias classes or directly use\n  the `MObject`s provided by `manim`.\n- `riemapp` programmatically generates `manim` animations, and the code for this\n  is available under `riemapp.core`. All of the information added by a user is\n  passed into a placeholder class which inherits `manim.Scene`. This class'\n  object is then used to render the animation.\n\n## Installation\n\n### Install dependencies\n\n**FFmpeg**\n\n- Install FFmpeg through their [download page](https://ffmpeg.org/download.html)\n  or your system's package manager (`apt`, `brew`, ...) or clone\n  [Saransh-cpp/FFmpeg](https://github.com/Saransh-cpp/FFmpeg).\n- Add the `bin` folder to system path.\n\n**pangocairo** (Linux systems)\n\nInstall `libpango1.0-dev` if you are on a Linux system -\n\n```\nsudo apt-get update\nsudo apt install libpango1.0-dev\n```\n\n### Install riemapp\n\n`riemapp` uses modern `Python` packaging and can be installed using `pip` -\n\n```\npython -m pip install riemapp\n```\n\n## Usage example\n\n```py\nIn [1]: import riemapp as rp\nManim Community v0.16.0.post0\n\nIn [2]: import numpy as np\n\nIn [3]: square = rp.geometry.Square(2.)\n\nIn [4]: square\nOut[4]: Square(side_length=2.0) (alias for manim.Square)\n\nIn [5]: cm = rp.ComplexMap(square, lambda z: np.e ** z)\n\nIn [6]: cm\nOut[6]: ComplexMap(f=Square(side_length=2.0) (alias for manim.Square), transformation=\u003clambda\u003e)\n\nIn [7]: cm.generate_animation(run_time=2.)\nOut[7]: Animate(f=Square(side_length=2.0) (alias for manim.Square), transformation=\u003clambda\u003e)\n\nIn [8]: cm.render(preview=False)\n```\n\nhttps://user-images.githubusercontent.com/74055102/193077326-2c21cb9e-eb24-473e-b69c-3376f7664ecd.mp4\n\n## Contributing\n\nIf you want to contribute to `riemapp` (thanks!), please have a look at our\n[Contributing Guide](https://github.com/Saransh-cpp/riemapp/blob/main/CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaransh-cpp%2Friemapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaransh-cpp%2Friemapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaransh-cpp%2Friemapp/lists"}