{"id":37186523,"url":"https://github.com/kyriacos/colorbuffer","last_synced_at":"2026-01-14T21:38:11.199Z","repository":{"id":57507258,"uuid":"232187013","full_name":"kyriacos/colorbuffer","owner":"kyriacos","description":"Simple and fast colorbuffer for games and stuff","archived":false,"fork":false,"pushed_at":"2020-01-06T21:23:27.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-17T14:50:40.606Z","etag":null,"topics":["colorbuffer","framebuffer","game-development","go","go-sdl2","golang","image-manipulation","image-processing","sdl2"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/kyriacos.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}},"created_at":"2020-01-06T21:17:00.000Z","updated_at":"2020-01-06T21:24:42.000Z","dependencies_parsed_at":"2022-09-19T05:30:21.942Z","dependency_job_id":null,"html_url":"https://github.com/kyriacos/colorbuffer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kyriacos/colorbuffer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyriacos%2Fcolorbuffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyriacos%2Fcolorbuffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyriacos%2Fcolorbuffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyriacos%2Fcolorbuffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyriacos","download_url":"https://codeload.github.com/kyriacos/colorbuffer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyriacos%2Fcolorbuffer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28435769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T21:32:52.117Z","status":"ssl_error","status_checked_at":"2026-01-14T21:32:33.442Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["colorbuffer","framebuffer","game-development","go","go-sdl2","golang","image-manipulation","image-processing","sdl2"],"created_at":"2026-01-14T21:38:10.509Z","updated_at":"2026-01-14T21:38:11.195Z","avatar_url":"https://github.com/kyriacos.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ColorBuffer - Simple and fast colorbuffer for games and stuff\n\nThe motivation behind this package is that i found myself recreating it time and time again every time I needed just a simple colorbuffer so I could change some pixel values in a byte array and render stuff to the screen either with SDL or just in the terminal.\n\nI tried using the image.RGBA package that's native to Go but I realized after running a few benchmarks it was actually quite slow. Even when using RGBAAt and SetRGBA directly. After a few experiments I just went back to maintaining a plain buffer myself and added a few convenience methods for it.\n\nCheck out my other project, a [Go Raycaster](https://github.com/kyriacos/go-raycaster) where I added a bit more detail on how this came about.\n\nI have a few more ideas about extending it further. As always feedback and issues are always welcomed.\n\n## Todo\n\n- [ ] Add helper utils for parsing the hex colors\n- [ ] Add go doc\n- [ ] Add example\n- [ ] Add Bounds method so it's closer to the image implementation?\n- [ ] Add byte order support (rgba vs bgra) - benchmark\n- [ ] Add CI\n- [ ] Add quick byte check b[3]\n- [ ] Parallel?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyriacos%2Fcolorbuffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyriacos%2Fcolorbuffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyriacos%2Fcolorbuffer/lists"}