{"id":13771401,"url":"https://github.com/feenkcom/sparta","last_synced_at":"2026-04-02T02:07:38.855Z","repository":{"id":38430137,"uuid":"66376994","full_name":"feenkcom/sparta","owner":"feenkcom","description":"Sparta is a canvas on top of Skia.","archived":false,"fork":false,"pushed_at":"2026-03-18T22:36:02.000Z","size":4357,"stargazers_count":33,"open_issues_count":2,"forks_count":6,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-03-19T02:46:23.187Z","etag":null,"topics":["pharo","vector-graphics"],"latest_commit_sha":null,"homepage":"https://gtoolkit.com","language":"Smalltalk","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/feenkcom.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-08-23T14:59:21.000Z","updated_at":"2026-03-18T12:10:27.000Z","dependencies_parsed_at":"2023-11-10T21:26:06.752Z","dependency_job_id":"d412713b-cfd2-4034-8992-1825b3f94d60","html_url":"https://github.com/feenkcom/sparta","commit_stats":{"total_commits":708,"total_committers":15,"mean_commits":47.2,"dds":0.2627118644067796,"last_synced_commit":"d281fa1bb9ff6a6b7475c2cbab0869bc338980ea"},"previous_names":["syrel/sparta"],"tags_count":415,"template":false,"template_full_name":null,"purl":"pkg:github/feenkcom/sparta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fsparta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fsparta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fsparta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fsparta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feenkcom","download_url":"https://codeload.github.com/feenkcom/sparta/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feenkcom%2Fsparta/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"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":["pharo","vector-graphics"],"created_at":"2024-08-03T17:00:51.084Z","updated_at":"2026-04-02T02:07:38.831Z","avatar_url":"https://github.com/feenkcom.png","language":"Smalltalk","funding_links":[],"categories":["Graphics"],"sub_categories":[],"readme":"# Sparta\n\nSparta is an almost stateless vector graphics API for Pharo that provides bindings to the Skia rendering backend.\n\n### Install\n\n**More detailed installation guide is described in [INSTALL.md](INSTALL.md)**\n\nSparta requires an extra Skia vm plugin. The plugin for the current OS and VM (64 bit) is downloaded and installed automatically together with all needed packages.\n\n```smalltalk \nMetacello new\n    baseline: 'Sparta';\n    repository: 'github://feenkcom/sparta/src';\n    load\n```\n\n### Overview\n*(All images are rendered using Sparta in Glamorous Toolkit)*\n\n![\"Sparta\" string rendered with applied neon filter](screenshots/Sparta-v1-Neon.png \"Neon filter\")\n\n### Backends\nSkia, and as result Sparta, has support of native OS graphic engines, as well as cross platform ones.\n\nOn all platforms Sparta provides support of [Cairo](https://cairographics.org) and [Skia](https://skia.org/). Additionally, high performant [CoreGraphics and CoreGraphics Accelerated](https://developer.apple.com/reference/coregraphics) on Mac OS and [Direct2D](https://msdn.microsoft.com/en-us/library/windows/desktop/dd317121(v=vs.85).aspx) on Windows.\nIn total Sparta supports 5 different rendering backends. \n\n### Text\nOne of the biggest improvements compared to existing graphics engines from Pharo is advanced high quality text rendering with multi-language support.\n\n![Multilanguage support in Sparta](screenshots/Sparta-v1-Multilanguage.png \"Sparta Multilanguage\")\n\nThe current Pharo text rendering engines draw a piece of text with one concrete font and style. If the font does not have an appropriate character, a stub glyph will be rendered instead.\nSparta introduces a notion of font groups that allow us to achieve a smooth fallback font detection based on the selected font style, language and missing glyphs. Fallback font support requires more complex text measurement, as multiple fonts faces are involved to render a single piece of text.\n\n### Filters\nSince Sparta is based on the Moz2D backend that was designed for web browsers, we can get support for a wide variety of [filter primitives](https://www.w3.org/TR/SVG/filters.html). Sparta provides an ability to compose multiple filter primitives to get a single, advanced filter. For example, with the help of ColorMatrix and TableTransfer filters we can simulate some popular Instagram-like filters, for example Nashville, Inkwell or Brannan.\n\n![Instagram-like filters implemented with Sparta](screenshots/Sparta-v1-Filters.png \"Sparta Filters\")\n\n### Basic drawings\nWe should not forget that first of all Sparta is a vector graphics engine. It allows developers to create, fill and stroke custom paths and shapes. Together with gaussian blur, we can achieve astonishing results that were not possible before.\n\n![Basic vector graphics in Sparta](screenshots/Sparta-v1-Shapes.png \"Sparta Shapes\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeenkcom%2Fsparta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeenkcom%2Fsparta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeenkcom%2Fsparta/lists"}