{"id":22899534,"url":"https://github.com/ad-si/Brillo","last_synced_at":"2025-08-12T03:31:23.750Z","repository":{"id":264177381,"uuid":"892579192","full_name":"ad-si/Brillo","owner":"ad-si","description":"Painless 2D vector graphics, animations, and simulations powered by GLFW (Fork of gloss)","archived":false,"fork":false,"pushed_at":"2025-05-28T05:33:30.000Z","size":9831,"stargazers_count":40,"open_issues_count":16,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-11T03:34:53.161Z","etag":null,"topics":["2d","animation","game-engine","glfw","graphics","raster","render","simulation","vector"],"latest_commit_sha":null,"homepage":"https://hackage.haskell.org/package/brillo","language":"Haskell","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/ad-si.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-11-22T11:35:06.000Z","updated_at":"2025-07-23T00:43:44.000Z","dependencies_parsed_at":"2025-04-30T08:04:25.140Z","dependency_job_id":null,"html_url":"https://github.com/ad-si/Brillo","commit_stats":null,"previous_names":["ad-si/brillo"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/ad-si/Brillo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2FBrillo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2FBrillo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2FBrillo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2FBrillo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ad-si","download_url":"https://codeload.github.com/ad-si/Brillo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2FBrillo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269996643,"owners_count":24509630,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["2d","animation","game-engine","glfw","graphics","raster","render","simulation","vector"],"created_at":"2024-12-14T01:00:45.785Z","updated_at":"2025-08-12T03:31:22.988Z","avatar_url":"https://github.com/ad-si.png","language":"Haskell","funding_links":[],"categories":["Haskell"],"sub_categories":[],"readme":"# Brillo\n\nBrillo hides the pain of drawing simple vector graphics and raster images\nbehind a nice data type and a few display functions.\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003cimg\n        src=\"brillo-examples/picture/Visibility/screenshot.png\"\n        width=\"228\"\n        height=\"235\"\n      \u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003cimg\n        src=\"brillo-examples/picture/Tree/screenshot.png\"\n        width=\"153\"\n        height=\"198\"\n      \u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003cimg\n        src=\"brillo-examples/images/perspec.png\"\n        width=\"280\"\n        height=\"145\"\n      \u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\n## Example\n\nGetting something on the screen is as easy as:\n\n```hs\nimport Brillo\n\nmain = display\n  (InWindow \"Nice Window\" (200, 200) (10, 10))\n  white\n  (Circle 80)\n```\n\nExplore and run the [example projects](./brillo-examples/README.md)\nwith [stack](http://haskellstack.org):\n\n```sh\nstack run brillo-boids\n```\n\n\n## Usage\n\nOnce the window is open you can use the following:\n\n- Quit\n  - esc-key\n- Move Viewport\n  - arrow keys\n  - left-click drag\n- Zoom Viewport\n  - page up/down-keys\n  - control-left-click drag\n  - right-click drag\n  - mouse wheel\n- Rotate Viewport\n  - home/end-keys\n  - alt-left-click drag\n- Reset Viewport\n  - 'r'-key\n\n\n## More\n\n- Animations and simulations can be constructed similarly\n    using the `animate` and `simulate` functions\n- Games with user input can be constructed with the `play` function.\n- See the [brillo-examples](./brillo-examples/README.md) directory for more.\n\n\n## Installation\n\nInstall necessary native dependencies like this:\n\n### Fedora\n\n```sh\nsudo dnf install glfw-devel libXxf86vm-devel\n```\n\n### Arch\n\n```sh\nsudo pacman -S glfw libxxf86vm\n```\n\n\n## Contributing\n\nContributions are very welcome!\n\nPlease test that all the `brillo-examples` still work\nbefore submitting your pull request.\n\n\n## History\n\nThis library is a fork of [gloss](https://github.com/benl23x5/gloss)\nand improves upon it in several ways.\nCheck out the [CHANGELOG](./CHANGELOG.md) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fad-si%2FBrillo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fad-si%2FBrillo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fad-si%2FBrillo/lists"}