Posts Tagged ‘ Animation ’

Mapping Bike Accidents in R

September 14, 2012
By
Mapping Bike Accidents in R

At last weekend’s Hack Ta Ville event here in Montreal, I joined up with some talented urban planners and web devs to realize Vélobstacles. The idea of the project is to crowd source information on cycling conditions around the city. As with any crowd sourcing project, we were faced with the problem of seeding the

Read more »

Sigma motion visual illusion in R

August 21, 2012
By
Sigma motion visual illusion in R

Michael Bach, who is a professor and vision scientist at the University of Freiburg, maintains a fascinating site about visual illusions. One visual illusion really surprised me: the sigma motion. The sigma motion displays a flickering figure of bla...

Read more »

Change in life expectancy animated with geo charts

March 12, 2012
By
Change in life expectancy animated with geo charts

The data of the World Bank is absolutely amazing. I had said this before, but their updated iPhone App gives me a reason to return to this topic. Version 3 of the DataFinder App allows you to visualise the data on your phone, including motion maps, see...

Read more »

Animation Newby Excercise with R-Package {animation}

December 12, 2011
By
Animation Newby Excercise with R-Package {animation}

Try this very simple & illustrative example for creating an animation with the animation package:myfun <- function ( ) { n = ani.options("nmax") x = sample(1:n) ...

Read more »

Fitting distributions with R

December 1, 2011
By
Fitting distributions with R

Fitting distribution with R is something I have to do once in a while.A good starting point to learn more about distribution fitting with R is Vito Ricci's tutorial on CRAN. I also find the vignettes of the actuar and fitdistrplus packag...

Read more »

Queueing up in R, continued

October 20, 2011
By
Queueing up in R, continued

Shown above is a queueing simulation. Each diamond represents a person. The vertical line up is the queue; at the bottom are 5 slots where the people are attended. The size of each diamond is proportional to the log of the time it will take them to be attended. Color is used to tell one

Read more »

Yet Another One.. Animation with saveHTML / saveVideo from Package ANIMATION

October 12, 2011
By
Yet Another One.. Animation with saveHTML / saveVideo from Package ANIMATION

...some more playing with saveHTML, as.raster() and rasterImage(), producing a "flickering screen":Read more »

Read more »

Plot Animation with Imported Images

October 10, 2011
By
Plot Animation with Imported Images

...I really dig the animation package! ..so here's the outcome of my firsts encounters with saveHTML() - I produced an animation with pre-existing images by utilizing the functions readJPEG() and rasterImage() from the R-packages jpeg and ReadImage...

Read more »

Conway’s Game of Life in R with ggplot2 and animation

June 5, 2011
By
Conway’s Game of Life in R with ggplot2 and animation

In undergrad I had a computer science professor that piqued my interest in applied mathematics, beginning with Conway’s Game of Life. At first, the Game of Life (not the board game) appears to be quite simple — perhaps, too simple — but it has been widely explored and is useful for modeling systems over time.

Read more »

Happy New Year with R (2011, Fireworks!)

January 1, 2011
By
Happy New Year with R (2011, Fireworks!)

ast year I posted an animation created in R to celebrate the new year, and this year I’ve got a more fabulous animation. Unfortunately our Lord of CRAN (Kurt) has been out of office for several days, so I’m unable to publish my animation package on CRAN as scheduled. Anyway, for those who are curious

Read more »