{"id":18386650,"url":"https://github.com/deadblackclover/vga-figures","last_synced_at":"2025-04-07T00:33:23.861Z","repository":{"id":57671635,"uuid":"279051138","full_name":"deadblackclover/vga-figures","owner":"deadblackclover","description":":art: Library for drawing various shapes","archived":false,"fork":false,"pushed_at":"2024-05-14T03:01:42.000Z","size":34,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-31T12:13:17.015Z","etag":null,"topics":["figures","no-std","rust","vga"],"latest_commit_sha":null,"homepage":"https://docs.rs/vga-figures/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deadblackclover.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-07-12T11:34:18.000Z","updated_at":"2024-09-21T10:42:59.000Z","dependencies_parsed_at":"2022-08-30T15:41:16.246Z","dependency_job_id":null,"html_url":"https://github.com/deadblackclover/vga-figures","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/deadblackclover%2Fvga-figures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadblackclover%2Fvga-figures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadblackclover%2Fvga-figures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadblackclover%2Fvga-figures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadblackclover","download_url":"https://codeload.github.com/deadblackclover/vga-figures/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223268100,"owners_count":17116749,"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":["figures","no-std","rust","vga"],"created_at":"2024-11-06T01:22:54.970Z","updated_at":"2024-11-06T01:22:55.615Z","avatar_url":"https://github.com/deadblackclover.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vga-figures\n\n![crates.io](https://img.shields.io/crates/v/vga-figures.svg)\n![docs.rs](https://docs.rs/vga-figures/badge.svg)\n\n:art: Library for drawing various shapes\n\n## Figures2D\n```rust\nuse vga::colors::Color16;\nuse vga::writers::{Graphics640x480x16, GraphicsWriter};\nuse vga_figures::figures2d::Figures2D;\n\nlet mode = Graphics640x480x16::new();\nmode.set_mode();\nmode.clear_screen(Color16::Black);\n\nlet figures = Figures2D::new(mode);\nfigures.line(10, 10, 10, 60, Color16::White);\nfigures.rectangle(25, 10, 75, 60, Color16::White);\nfigures.ellipse(115, 35, 25, 25, Color16::White);\n\nlet arr = [150, 100, 200, 120, 240, 180, 210, 200, 150, 150, 100, 200];\nfigures.polygon(\u0026arr, Color16::White);\n\nfigures.text(10, 80, \"Test text\", Color16::White);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadblackclover%2Fvga-figures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadblackclover%2Fvga-figures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadblackclover%2Fvga-figures/lists"}