{"id":26950563,"url":"https://github.com/formulae-org/package-graphic-raster-js","last_synced_at":"2025-04-02T23:30:02.514Z","repository":{"id":167982482,"uuid":"628445188","full_name":"formulae-org/package-graphic-raster-js","owner":"formulae-org","description":"Raster graphics package for Fōrmulæ, in JavaScript","archived":false,"fork":false,"pushed_at":"2025-01-02T04:22:30.000Z","size":57,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T04:27:51.682Z","etag":null,"topics":["formulae","graphic-primitives","graphics","graphics-programming","image-colors","image-coordinates","image-text","image-transformations","javascript","raster-graphics","rotating","stroke-imaging","turtle-graphics","xor-mode"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/formulae-org.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}},"created_at":"2023-04-16T00:53:53.000Z","updated_at":"2025-01-02T04:22:33.000Z","dependencies_parsed_at":"2024-01-13T09:38:20.034Z","dependency_job_id":"7e0bb9cd-8a9f-4967-a55f-27ac3a8b8469","html_url":"https://github.com/formulae-org/package-graphic-raster-js","commit_stats":null,"previous_names":["formulae-org/package-graphic-raster-js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-graphic-raster-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-graphic-raster-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-graphic-raster-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-graphic-raster-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formulae-org","download_url":"https://codeload.github.com/formulae-org/package-graphic-raster-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246910563,"owners_count":20853603,"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":["formulae","graphic-primitives","graphics","graphics-programming","image-colors","image-coordinates","image-text","image-transformations","javascript","raster-graphics","rotating","stroke-imaging","turtle-graphics","xor-mode"],"created_at":"2025-04-02T23:30:01.916Z","updated_at":"2025-04-02T23:30:02.508Z","avatar_url":"https://github.com/formulae-org.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# package-graphic-raster-js\n\nRaster graphics package for the [Fōrmulæ](https://formulae.org) programming language.\n\nFōrmulæ is also a software framework for visualization, edition and manipulation of complex expressions, from many fields. The code for an specific field —i.e. arithmetics— is encapsulated in a single unit called a Fōrmulæ **package**.\n\nThis repository contains the source code for the **raster graphics package**. It contains reduction to create\n\nThe GitHub organization [formulae-org](https://github.com/formulae-org) encompasses the source code for the rest of packages, as well as the [web application](https://github.com/formulae-org/formulae-js).\n\n\u003c!--\nTake a look at this [tutorial](https://formulae.org/?script=tutorials/Complex) to know the capabilities of the Fōrmulæ arithmetic package.\n--\u003e\n\n### Capabilities ###\n\n* Creation of a blank image\n* Creation of a image from a file\n* Retrieving the dimensions of an image\n* Duplication of an image\n* Pixel operations\n    Set/Get the color of a single pixel\n* Line operations\n    * From position to position\n    * From position to offset\n    * From last position to position\n    * From last position to offset\n* Rectangle operations\n    * Draw from corner to corner\n    * Draw from corner to size\n    * Fill from corner to corner\n    * Fill from corner to size\n* Circle/ellipse operations\n    * Draw from corner to corner\n    * Draw from corner to size\n    * Draw given center and radius\n    * Fill from corner to corner\n    * Fill from corner to size\n    * Fill given center and radius\n* Arc operations\n    * Draw from corner to corner\n    * Draw from corner to size\n    * Draw given center and radius\n    * Fill from corner to corner\n    * Fill from corner to size\n    * Fill given center and radius\n* Insert image into image\n* Text operations\n    * Retrieve size of text when drawing\n    * Draw text\n* Turtle graphics\n    * Set/get/offset current position\n    * Set/get current angle\n    * Forward with/without drawing\n    * Turn\n* Coordinate system operations\n    * Reset coordinates\n    * Add translation\n    * Add scaling\n    * Add rotation\n    * Set a coordinate system given coordinates of corners\n* Set state of painting\n    * Set/retrieve current color\n    * Set/retrieve stroke width\n    * Set whether stroke is affected by scale or not\n    * Set mode\n       * Normal (paint mode)\n       * XOR mode\n    * Set drawing arc\n       * Open\n       * Closed (as pie)\n\n### Gallery\n\nVisit [this Pinterest galley](https://www.pinterest.com/formulae_org/_created/) of images created with Fōrmulæ, using the raster graphics package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformulae-org%2Fpackage-graphic-raster-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fformulae-org%2Fpackage-graphic-raster-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformulae-org%2Fpackage-graphic-raster-js/lists"}