{"id":15314014,"url":"https://github.com/vanruesc/circlerasteriser","last_synced_at":"2025-10-08T23:32:19.511Z","repository":{"id":70175338,"uuid":"44278019","full_name":"vanruesc/circlerasteriser","owner":"vanruesc","description":"An implementation of a circle rasterisation algorithm.","archived":true,"fork":false,"pushed_at":"2015-11-20T17:50:27.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-02T08:44:13.240Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vanruesc.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":"2015-10-14T21:41:46.000Z","updated_at":"2023-01-28T20:36:46.000Z","dependencies_parsed_at":"2023-02-21T11:45:46.460Z","dependency_job_id":null,"html_url":"https://github.com/vanruesc/circlerasteriser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanruesc%2Fcirclerasteriser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanruesc%2Fcirclerasteriser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanruesc%2Fcirclerasteriser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanruesc%2Fcirclerasteriser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanruesc","download_url":"https://codeload.github.com/vanruesc/circlerasteriser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235775518,"owners_count":19043180,"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":[],"created_at":"2024-10-01T08:44:10.755Z","updated_at":"2025-10-08T23:32:14.178Z","avatar_url":"https://github.com/vanruesc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CircleRasteriser\n[![Build status](https://travis-ci.org/vanruesc/circlerasteriser.svg?branch=master)](https://travis-ci.org/vanruesc/circlerasteriser) \n[![Windows Build status](https://ci.appveyor.com/api/projects/status/7sx1wwmvv2a6o1pm?svg=true)](https://ci.appveyor.com/project/vanruesc/circlerasteriser) \n[![GitHub version](https://badge.fury.io/gh/vanruesc%2Fcirclerasteriser.svg)](http://badge.fury.io/gh/vanruesc%2Fcirclerasteriser) \n[![Dependencies](https://david-dm.org/vanruesc/circlerasteriser.svg?branch=master)](https://david-dm.org/vanruesc/circlerasteriser)\n\nAn implementation of a [circle rasterisation algorithm](http://rosettacode.org/wiki/Bitmap/Midpoint_circle_algorithm) \nfor the course _Digital Media_ at the University of Applied Sciences, Brandenburg. This particular rasteriser allows you \nto set a pixel size and a grid line width. The grid can also be deactivated by setting ```-g 0```.\n\n\n## Installation\n\nFirst, download and install [NodeJS](https://nodejs.org) (9Mb Download, 23Mb Installation).\n\n```sh\n# Download this project, unzip it and navigate to its topmost directory via command line interface.\n$ cd circlerasteriser-master\n\n# Register the program globally.\n$ npm link\n``` \n\n\n## Usage\n\n```sh\n# You may now generate new circles. \n$ circle -r 60 -x 100 -y 75 -n myCircle\n\n# The generated file will be stored in the output-folder.\n```\n\n```sh\n  Optional arguments:\n    -r      Radius, Number.\n    -x      Center x-coordinate, Number.\n    -y      Center y-coordinate, Number.\n    -w      Width, Number.\n    -h      Height, Number.\n    -p      Pixel size, Number.\n    -g      Grid line width, Number.\n    -n, -o  Name of the output file, String.\n```\n\n\n## Result\n\n[![Raster graphic](http://vanruesc.github.io/circlerasteriser/output/result.jpg)](http://vanruesc.github.io/circlerasteriser/output/circle.jpg)\n\n\n## Uninstallation\n\n```sh\n# Undo the global installation.\n$ npm unlink\n\n# After that, simply delete the project files.\n```\n\n\n## Documentation\n\nCheck the circlerasteriser [API](http://vanruesc.github.io/circlerasteriser/docs) in order to use this module in your own JavaScript projects.\n\n\n## License\n\nCopyright (c) 2015 Raoul van Rüschen  \nLicensed under the Zlib license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanruesc%2Fcirclerasteriser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanruesc%2Fcirclerasteriser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanruesc%2Fcirclerasteriser/lists"}