{"id":20047247,"url":"https://github.com/wojciech-graj/pytermgl","last_synced_at":"2025-07-24T10:37:41.574Z","repository":{"id":62592425,"uuid":"504806122","full_name":"wojciech-graj/pyTermGL","owner":"wojciech-graj","description":"2D \u0026 3D Rendering in the Terminal","archived":false,"fork":false,"pushed_at":"2024-11-16T22:02:59.000Z","size":8042,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-25T05:51:16.637Z","etag":null,"topics":["cython","graphics","interaction","python","rendering","terminal","terminal-based"],"latest_commit_sha":null,"homepage":"","language":"Cython","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/wojciech-graj.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":"2022-06-18T10:00:42.000Z","updated_at":"2025-03-17T20:38:46.000Z","dependencies_parsed_at":"2024-11-08T21:19:05.929Z","dependency_job_id":"ba7cbbdd-0615-48cf-a6a2-0d574d66c366","html_url":"https://github.com/wojciech-graj/pyTermGL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciech-graj%2FpyTermGL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciech-graj%2FpyTermGL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciech-graj%2FpyTermGL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciech-graj%2FpyTermGL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wojciech-graj","download_url":"https://codeload.github.com/wojciech-graj/pyTermGL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252480421,"owners_count":21754774,"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":["cython","graphics","interaction","python","rendering","terminal","terminal-based"],"created_at":"2024-11-13T11:34:53.321Z","updated_at":"2025-05-05T10:31:16.492Z","avatar_url":"https://github.com/wojciech-graj.png","language":"Cython","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TermGL\n\nA terminal-based graphics library for 2D and 3D graphics.\n\nFeatures:\n- Windows \u0026 *NIX support\n- C99 compliant without external dependencies\n- Custom vertex and pixel shaders\n- Affine texture mapping\n- 24 bit RGB\n- Indexed color mode: 16 Background colors, 16 foreground colors, bold and underline\n- Non-blocking input from terminal\n- Mouse tracking\n\n![CUBE](https://w-graj.net/images/termgl/textures.gif)\n\n## Installation\n\nPackage can be found on [PyPI](https://pypi.org/project/termgl/) and can be installed using pip:\n```\npip install termgl\n```\n\n## Documentation\n\nThe best way to learn to use TermGL is to read the tutorial [here](./TUTORIAL.md).\n\nAdditionally, documentation of all public members of TermGL can be found [here](https://wojciech-graj.github.io/pyTermGL/).\n\n## Demo\n\nA variety of demos can be found in the `demo` directory. To run the demo utility, simply `python demo`.\n\nAvailable demos and TermGL features used:\n1. Utah Teapot\\\nRenders a rotating 3D Utah Teapot.\n\t- Backface culling\n\t- Z buffering\n\t- Double-width characters\n\t- 3D rendering\n\t- Custom shaders\n2. Color Palette\\\nRenders a palette of various text colors and styles.\n\t- Colors \u0026 Modifiers\n3. Mandelbrot\\\nRenders an infinitely zooming-in Mandelbrot set.\n\t- Point rendering\n4. Realtime Keyboard\\\nDisplays keyboard input in realtime.\n\t- Text rendering\n\t- Realtime keyboard input\n5. Textured Cube\\\nRenders a texture-mapped cube.\n\t- Backface culling\n\t- Z buffering\n\t- Double-width characters\n\t- 3D rendering\n\t- Shaders\n\t- Texture mapping\n6. RGB\\\nRenders overlapping red, green, and blue circles.\n\t- 24 bit RGB\n\t- Text rendering\n7. Mouse\\\nDisplays mouse position and button state.\n\t- Mouse tracking\n\t- Text rendering\n\n### Gallery\n\n![LOGO](https://w-graj.net/images/termgl/logo.gif)\n\n![CANYON](https://w-graj.net/images/termgl/canyon.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwojciech-graj%2Fpytermgl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwojciech-graj%2Fpytermgl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwojciech-graj%2Fpytermgl/lists"}