{"id":24408773,"url":"https://github.com/ahasverus/rsphere","last_synced_at":"2026-05-20T06:41:13.198Z","repository":{"id":93933056,"uuid":"314316095","full_name":"ahasverus/rsphere","owner":"ahasverus","description":":package: Plot a 2D Shaded Sphere","archived":false,"fork":false,"pushed_at":"2020-11-19T18:01:09.000Z","size":90,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T05:52:45.209Z","etag":null,"topics":["plot","r","sf","shade","sphere"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahasverus.png","metadata":{"files":{"readme":"README.Rmd","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}},"created_at":"2020-11-19T17:07:18.000Z","updated_at":"2020-11-20T15:55:34.000Z","dependencies_parsed_at":"2023-08-28T03:46:50.929Z","dependency_job_id":null,"html_url":"https://github.com/ahasverus/rsphere","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/ahasverus%2Frsphere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahasverus%2Frsphere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahasverus%2Frsphere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahasverus%2Frsphere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahasverus","download_url":"https://codeload.github.com/ahasverus/rsphere/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243376058,"owners_count":20280969,"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":["plot","r","sf","shade","sphere"],"created_at":"2025-01-20T05:52:50.258Z","updated_at":"2025-12-29T06:29:21.410Z","avatar_url":"https://github.com/ahasverus.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse  = TRUE,\n  comment   = \"#\u003e\",\n  fig.path  = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# rsphere\n\n\u003c!-- badges: start --\u003e\n[![R build status](https://github.com/ahasverus/rsphere/workflows/R-CMD-check/badge.svg)](https://github.com/ahasverus/rsphere/actions)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n\u003c!-- badges: end --\u003e\n\nThe goal of rsphere is to plot a 2D shaded sphere with a two-colours gradient.\n\n## Installation\n\nYou can install the development version from [GitHub](https://github.com/ahasverus/rsphere) with:\n\n``` r\n# install.packages(\"remotes\")\nremotes::install_github(\"ahasverus/rsphere\")\n```\n\n## Usage\n\n```{r}\nplot(x = 0, y = 0, asp = 1, xlim = c(-1, 1), ylim = c(-1, 1), axes = FALSE, ann = FALSE)\nrsphere::add_sphere()\n```\n\n```{r}\nplot(x = 0, y = 0, asp = 1, xlim = c(-1, 1), ylim = c(-1, 1), axes = FALSE, ann = FALSE)\nrsphere::add_sphere(x1 = 0.5, y1 = -0.5, col = c(\"black\", \"red\"))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahasverus%2Frsphere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahasverus%2Frsphere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahasverus%2Frsphere/lists"}