Skip to content
Shiny application to create LEGO mosaics directly from R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R polish welcome page Mar 8, 2019
data-raw dynamically create hex code based on RGB values in colors data set Mar 7, 2019
data refresh in-package data sets Mar 7, 2019
dev begin writeup for shiny contest Mar 7, 2019
inst add pics for welcome page Mar 7, 2019
man
rsconnect/shinyapps.io/rpodcast re-deploy Mar 7, 2019
tests
.Rbuildignore refresh docs Mar 6, 2019
.gitignore initialize after using golem pkg to bootstrap package Feb 24, 2019
CODE_OF_CONDUCT.md initialize after using golem pkg to bootstrap package Feb 24, 2019
DESCRIPTION forgot to add shinyjs to imports Mar 7, 2019
LICENSE initialize after using golem pkg to bootstrap package Feb 24, 2019
LICENSE.md initialize after using golem pkg to bootstrap package Feb 24, 2019
NAMESPACE update namespace Mar 7, 2019
NEWS.md initialize after using golem pkg to bootstrap package Feb 24, 2019
README.Rmd fix app link in readme Mar 8, 2019
README.md fix app link in readme Mar 8, 2019
app.R
shinylego.Rproj

README.md

lifecycle

ShinyLEGO: Create LEGO mosaics directly from R and Shiny

ShinyLEGO is a Shiny application that lets you create a simulated mosaic composed of LEGO bricks from any image file. Once your picture is uploaded, you can customize various settings for your mosaic such as dimensions, brightness, and color types. In addition, the application will generate specific instructions so that you can build the mosaic yourself! These instructions contain the brick colors and types required for each step, and a diagram showing how the bricks are to be assembled.

This application would not be possible without the innovative R scripts created by Ryan Timpe! Ryan has written excellent blogposts detailing the workflow this application draws upon, and the code for each post can be found on his LEGOMosaics GitHub repository:

Installation

You can install the development version of shinylego from GitHub with:

# install.packages("remotes")
remotes::install_github("rpodcast/shinylego")

Usage

Once you have installed the package, you can run the application within your R session using the following command:

shinylego::run_app()

Deployments

shinylego is also available on the Shinyapps.io hosting service at rpodcast.shinyapps.io/shinylego

Acknowlegements

In addition to Ryan Timpe’s excellent R programs detailed above, this application utilizes many powerful packages in the shiny ecosystem such as the following:

CoC

Please note that the ‘shinylego’ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

You can’t perform that action at this time.