Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.
/ colorband-app Public archive

🎨 A simple R Shiny Electron app that generates random color combinations

License

Notifications You must be signed in to change notification settings

lawalter/colorband-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colorband Combination Generator

An R Shiny Electron desktop app

Users are able to generate all possible 4-band combinations using only their available color bands.

rhwo screenshot

Completed March 11, 2020

Setup

You have three avenues of running this app:

  1. Run online: https://lawaltr.shinyapps.io/colorband/
  2. Run in R: shiny::runApp('colorband/shiny/app.R')
  3. Package and run as a macOS Electron desktop app:
    • Make sure you have all dependencies installed (described in my setup guide)
    • In the R terminal, run cd colorband
    • Then run npm install
    • Run electron-forge start to see if the app works
    • And finally, run electron-forge make to package the app, now available to you in the out/ folder

Using the generator

  1. Select the colorbands available at your banding station
  2. If desired, choose your location from the drop-down
  3. Save settings by clicking "Save choices"
    • Your selected colors and location will be remembered if the Shiny app is reloaded or refreshed
    • Note: This doesn't seem to work with the Electron desktop app yet
  4. A random band combination will appear in the main panel
    • To generate a new random combination, hit the refresh button
  5. To download a complete list of all possible combinations, click the "Download full .csv" button

References