Skip to content

ThinkR-open/spongecake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRAN_Status_Badge

spongecake

Transform a Movie into a Synthetic Picture. A frame every 10 seconds is summarized into one colour, then every generated colors are stacked together.

why doing this ?... why not ?! :-)

Installation

# from CRAN
install.packages("spongecake")


# from Github
if (!require(devtools)){install.packages("devtools")}
devtools::install_github("ThinkR-open/spongecake")

Usage

library(spongecake)
library(magrittr)
#options(ffmpeg = "C:/ffmpeg-3.1.4-win64-static/bin/ffmpeg.exe") # windows user
library(magrittr)
gen_screenshot(movie = "D:/mymovie.avi") %>%
draw()

totally inspired from http://thecolorsofmotion.com/films