dreamRs / particlesjs

Particles.js for Shiny apps & rmarkdown
26 stars 4 forks source link
rmarkdown shiny

particlesjs

Particles background for 'Shiny' applications and 'RMarkdown' documents with particles.js

Travis build status Lifecycle: experimental

Installation

Install from GitHub with:

remotes::install_github("dreamRs/particlesjs")

Example

Use particles() in the console, Shiny UI or a R markdown chunk:

# default configuration:
particles()

# with a custom config
particles("pat/to/custom-config.json")

Create a custom config JSON here : https://vincentgarreau.com/particles.js/