{"id":13400934,"url":"https://github.com/moldach/vapoRwave","last_synced_at":"2025-03-14T06:32:05.555Z","repository":{"id":180817859,"uuid":"169927682","full_name":"moldach/vapoRwave","owner":"moldach","description":"📼👾🕹Vaporwave themes and color palettes for ggplot2💾👨‍🎤📺","archived":false,"fork":false,"pushed_at":"2024-03-05T20:41:25.000Z","size":12786,"stargazers_count":286,"open_issues_count":1,"forks_count":14,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-07-31T19:27:37.473Z","etag":null,"topics":["docker","ggplot2","ggplot2-themes","palette","poetry","python3","reticulate","rstudio"],"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/moldach.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2019-02-10T00:12:39.000Z","updated_at":"2024-07-25T20:14:05.000Z","dependencies_parsed_at":"2024-03-05T21:50:37.834Z","dependency_job_id":null,"html_url":"https://github.com/moldach/vapoRwave","commit_stats":null,"previous_names":["moldach/vaporwave"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moldach%2FvapoRwave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moldach%2FvapoRwave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moldach%2FvapoRwave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moldach%2FvapoRwave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moldach","download_url":"https://codeload.github.com/moldach/vapoRwave/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243537995,"owners_count":20307099,"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":["docker","ggplot2","ggplot2-themes","palette","poetry","python3","reticulate","rstudio"],"created_at":"2024-07-30T19:00:57.028Z","updated_at":"2025-03-14T06:32:00.542Z","avatar_url":"https://github.com/moldach.png","language":"R","funding_links":[],"categories":["R","ggplot"],"sub_categories":["Themes"],"readme":"---\ntitle: \"vapoRwave\"\nauthor: \"Matthew Jordan Oldach\"\noutput: \n  md_document:\n    variant: gfm\n    preserve_yaml: false \n---\n\n# VapoRwave Themes\n\n[![License:\nMIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/moldach/vapoRwave/blob/master/LICENSE.md)\n\n**Contact:**\n- [Twitter](https://twitter.com/moldach)\n- [GitHub](https://github.com/moldach)\n- [Personal Website](https://moldach.github.io/)\n\n## Table of Contents\n- [Overview](#overview)\n- [Installation](#installation)\n  - [Windows Font Installation](#windows-font-installation)\n- [Themes](#themes)\n  - [Floral Shoppe](#floral-shoppe)\n  - [New Retro Wave](#new-retro-wave)\n  - [jwz](#jwz)\n- [Vignettes](#vignettes)\n  - [Docker](#docker)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Overview\n\n`vapoRwave` is an R package that provides `ggplot2` themes inspired by the vaporwave movement, a genre of electronic music and art characterized by nostalgic and satirical takes on consumer capitalism, glitch art, anime, 3D-rendered objects, and cyberpunk tropes.\n\nExplore the aesthetics of vaporwave through themes that mimic iconic album covers and visual styles.\n\n## Installation\n\nUse the `devtools` package to install it.\n\n```r\ndevtools::install_github(\"moldach/vapoRwave\")\n\n# To include the vignette\ndevtools::install_github(\"moldach/vapoRwave\", build_vignettes=TRUE)\n```\n\nLoad packages:\n\n```r\nlibrary(vapoRwave)\nlibrary(ggplot2)\nlibrary(extrafont)\n```\n\n### Windows Font Installation\n\nWhile Ubuntu users can effortlessly install fonts, Windows users are required to take an additional step to utilize the fonts provided.\n\nThe fonts from the vapoRwave package will be locally installed in `C:\\Windows\\Users\\\u003cusername\u003e\\MyFonts\\`. To use them, move/copy the fonts to **Control Panel -\u003e Appearance and Personalization -\u003e Fonts**.\n\n![](vignettes/figure-gfm/load-windows-fonts-00.png)\n![](vignettes/figure-gfm/load-windows-fonts-01.png)\n\n**After each new R session, execute the following commands to make the fonts available:**\n\n```r\nlibrary(extrafont)\n# Import the TrueType fonts\nfont_import(paths = \"C:/Windows/Fonts/\", recursive = TRUE)\n```\n\nSelect `Y` to continue:\n\n![](vignettes/figure-gfm/load-windows-fonts-02.png)\n\n## Themes\n\n### Floral Shoppe \n\n![](vignettes/figure-gfm/FloralShoppe.png)\n\n```r\nggplot(mpg, aes(displ)) + \n        geom_histogram(aes(fill=class), \n                   binwidth = .1, \n                   col=\"black\", \n                   size=.1) +  # change binwidth\n        labs(title=\"Floral Shoppe\", \n        subtitle=\"Engine Displacement across Vehicle Classes\") + floral_shoppe() + scale_fill_floralShoppe()\n```\n\n![](vignettes/figure-gfm/floralShoppe_01-1.png)\n\n### New Retro Wave \n\n![](vignettes/figure-gfm/new_retro.jpg)\n\n```r\noptions(scipen=999)  # turn-off scientific notation like 1e+48\ndata(\"midwest\", package = \"ggplot2\")\nggplot(midwest, aes(x=area, y=poptotal)) + \n  geom_point(aes(col=state, size=popdensity)) + \n  geom_smooth(method=\"loess\", se=F, color = \"#FA5F70FF\") + \n  xlim(c(0, 0.1)) + \n  ylim(c(0, 500000)) + \n  labs(subtitle=\"Area Vs Population\", \n       y=\"Population\", \n       x=\"Area\", \n       title=\"New Retro Theme\", \n       caption = \"Source: midwest\") + \n        new_retro() + \n        scale_colour_newRetro() +\n        guides(size = guide_legend(override.aes = list(colour = \"#FA5F70FF\")))\n```\n\n![](vignettes/figure-gfm/newRetro_01-1.png)\n\n### JWZ\n\n![](vignettes/figure-gfm/jwz.jpg)\n\n```r\nggplot(mpg, aes(class, cty)) +\n        geom_boxplot(aes(fill=factor(cyl))) + \n        theme(axis.text.x = element_text(angle=65, vjust=0.6)) + \n        labs(title=\"Box plot\", \n             subtitle=\"City Mileage grouped by Class of vehicle\",\n             caption=\"Source: mpg\",\n             x=\"Class of Vehicle\",\n             y=\"City Mileage\") + \n        jwz() +\n        scale_fill_jwz()\n```\n\n![](vignettes/figure-gfm/jwz_01-1.png)\n\n## Vignettes\n\nFor more advanced and complex use-cases, as well as detailed examples and customization options, refer to the [vapoRwave vignette](doc/vapoRwave.html). The vignette explore diverse demos that include information on various palletes, fonts, changing parameters, and integrating with extensions. For a comprehensive guide, consult the vignette for the full potential of the `vapoRwave` package.\n\nWhen users install the package and want to access the vignettes, they can use the following command to open them:\n\n\n```r\nlibrary(vapoRwave)\nbrowseVignettes(\"vapoRwave\")\n```\n\n### Docker\n\nDive into the world of vapoRwave v0.2.0 and experience the perfect blend of retro aesthetics and modern data visualization within the [Synthwave85](https://github.com/jnolis/synthwave85) RStudio IDE, now more accessible than ever!\n\nThe v0.2.0 release streamlines the installation process across various operating systems. Get the New Retro theme in your IDE coupled with a pre-configured Python environment via the reticulate package. Python aficionados can now indulge in retro-flavored coding while leveraging R's simple syntax and powerful graphics.\n\n[![Python and R in a Retro IDE](https://markdown-videos-api.jorgenkh.no/url?url=https%3A%2F%2Fyoutu.be%2Fjtug43o_3Sw)](https://youtu.be/jtug43o_3Sw)\n\nFor your convenience, we offer two ways to get vapoRwave running in a Docker container:\n\n#### Pull the Pre-Built Docker Image\n\nThe easiest way to get started is to pull the  pre-built image from Docker Hub, which was optimized for size and security using [Slim](https://github.com/slimtoolkit/slim):\n\n```bash\ndocker pull moldach686/vaporwave:latest\ndocker run -p 8787:8787 -e PASSWORD=vaporwave moldach686/vaporwave\n```\n\n#### Build from the Dockerfile\n\nAlternatively, if you prefer to build the Docker image yourself from the Dockerfile:\n\n```bash\ndocker build -t vaporwave .\ndocker run -p 8787:8787 -e PASSWORD=vaporwave vaporwave\n```\n\nEither of these options will start vapoRwave and you can access the IDE by navigating to `http://localhost:8787`` in your web browser. Log in with the username `rstudio` and the password `vaporwave`.\n\n![](vignettes/figure-gfm/docker-and-r-demo.gif)\n\nFor instance, you can leverage Pandas for data wrangling and then visualize your results with R's ggplot2, all within this unique environment.\n\nOnce inside the IDE, feel free to install additional R packages through the _console_. Alternatively, in the _terminal_ you can install Python packages using `pip3` within a Poetry virtual environment, and any system dependencies using `apt-get`.\n\n![](vignettes/figure-gfm/installs-clip.gif)\n\nPlease note that when building from the Dockerfile, you may pull the latest dependencies, which provides the most up-to-date environment, while using the pre-built image ensures a consistent, tested setup.\n\nEnjoy the blend of the past and present in data science with vapoRwave v0.2.0 **Retro Player One**!🕹️📼🎵\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code\nof conduct, and the process for submitting pull requests to us.\n\n## License\n\nThis code is released under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoldach%2FvapoRwave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoldach%2FvapoRwave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoldach%2FvapoRwave/lists"}