{"id":24659964,"url":"https://github.com/offerrall/cuda_render","last_synced_at":"2026-05-11T03:37:24.930Z","repository":{"id":271122958,"uuid":"887470751","full_name":"offerrall/Cuda_Render","owner":"offerrall","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-05T16:38:03.000Z","size":1310,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T03:15:22.810Z","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/offerrall.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}},"created_at":"2024-11-12T19:56:34.000Z","updated_at":"2025-01-05T16:38:06.000Z","dependencies_parsed_at":"2025-01-05T17:29:02.888Z","dependency_job_id":"0a108b8b-fcf1-4e52-aed1-ca53176d23ae","html_url":"https://github.com/offerrall/Cuda_Render","commit_stats":null,"previous_names":["offerrall/cuda_render"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FCuda_Render","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FCuda_Render/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FCuda_Render/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FCuda_Render/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/offerrall","download_url":"https://codeload.github.com/offerrall/Cuda_Render/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244747010,"owners_count":20503303,"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":"2025-01-26T03:15:30.265Z","updated_at":"2026-05-11T03:37:24.895Z","avatar_url":"https://github.com/offerrall.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CUDA Render\n\nSimple CUDA buffer renderer using OpenGL for display.\n\n## Requirements\n- CUDA Toolkit\n- OpenGL\n- SDL2\n- Python 3.6+\n- CFFI\n\n## Installation\n\n1. Build the C++ library:\nModify the build script build.py in cuda_render_src to match your system configuration.\nThen run the following commands:\n```bash\ncd cuda_render_src\n./compile_lib.bat  # or compile using your preferred method\n```\n\n2. Install the Python package:\n```bash\npip install -e .\n```\n\n## Usage\n\n```python\nimport cuda_render\nimport cupy as cp  # or your CUDA framework of choice\n\n# Create renderer\nrenderer = cuda_render.create_renderer(width=800, height=600)\n\n# Main loop\nwhile not cuda_render.should_quit(renderer):\n    # Your CUDA buffer here (RGBA format)\n    cuda_buffer = ...  \n    cuda_render.display_buffer(renderer, cuda_buffer)\n\n# Cleanup\ncuda_render.destroy_renderer(renderer)\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofferrall%2Fcuda_render","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofferrall%2Fcuda_render","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofferrall%2Fcuda_render/lists"}