Blog Archives

Playing Around with Phyllotactic Spirals

January 28, 2019
By
Playing Around with Phyllotactic Spirals

I wanted to figure out how to create gif animation using the magick, so I decided I’ll try that out with ggplot2 spiral art. Loading up packages I’m definitely in love with “magick” right now :) library(tidyverse) ## for pretty much everything... library(magick) ## I'm now a magick fan!!! library(scales) ## Handy when it comes to scaling, but I also love show_col function library(patchwork)...

Read more »

Extracting colours from your images with Image Quantization

January 18, 2019
By
Extracting colours from your images with Image Quantization

magick really does the “Magic!” I have been playing around bit with package “magick”, and I think I am now hooked… Although I haven’t been able to understand everything written in vignette just yet. One of function I got really excited is image_quantize. This function will reduce the number of unique colours used in the image. i.e. I thought this is yet...

Read more »

Making Original Bingo – Heart Theme

January 5, 2019
By
Making Original Bingo – Heart Theme

I have learned how to draw a heart with mathmatical equation, in fact there are so many “curves” you can draw with equation. Amazing, right?!? You can find all sorts of different curves on Wolfram Mathworld site. I’m really curious how did people find equation itself for some of shapes? Also at last family reunion, I’ve played “Bingo”, which I...

Read more »

Bubble Packed Chart with R using packcircles package

December 21, 2018
By
Bubble Packed Chart with R using packcircles package

Tableau has chart type called “Packed Bubble Chart”, while I haven’t really utilized packed bubble chart much, I always thought they are fun and beautiful. I wanted to try creating same chart using R, and I came across package called packcircles. Reading vignettes was really helpful to figure out how to use the package!! - introduction vignettes - Progressive packing vignettes...

Read more »

Having bit of party with Material Colour Palette

December 8, 2018
By
Having bit of party with Material Colour Palette

Continuing on with my “slight?” obsession with colours… I love colours in “Material Colour Palette”. There various website that will lets you grab the colours by clicking, such as this one, but I just wanted to have little handy cheet sheet for myself, so I’ve decided I’ll do that using R & my favourite ggplot2. Getting colours out of image...

Read more »

Plotting Traditional Colours of Japan

November 28, 2018
By
Plotting Traditional Colours of Japan

I was curious to know what colours were Traditional Colours of Japan. One of the site I came across showing 465 palettes of Japanese colour is this one. Japanese Site with 465 palettes of traditional colour. While site displays colour beautifully, to see every colour you need to scroll quite bit, so I wanted to plot them using ggplot2. First,...

Read more »

Utilizing K-means to extract colours from your favourite images

November 11, 2018
By
Utilizing K-means to extract colours from your favourite images

I have been playing with package called imager, documentation on this package was extremely helpful! I have read through “getting started” as well as few other tutorial & examples. I love colours… Tools like colourlovers, Adobe Color CC, Canva Color Palette Generators are great extracting colours from photo (or in general just getting inspirations for colour palette), but I wanted...

Read more »

Voronoi diagram with ggvoronoi package with Train Station data

November 9, 2018
By
Voronoi diagram with ggvoronoi package with Train Station data

I’ve always been curious to make Voronoi diagram, I just think they are beautiful! When I came across data set with train stations in Japan. I instantly thought this would be great data sets to make Voronoi diagram! I’ve gotten data sets from (Ekidata) site. I’m amazed how many train stations we have in Japan, as well as coverage...

Read more »

Phyllotaxis Sprial and Prime Numbers – Experiment

October 27, 2018
By
Phyllotaxis Sprial and Prime Numbers – Experiment

I recently tried out Data Camp’s project called “Phyllotaxis: Draw flowers using mathematics”. Now I’m hooked on drawing spirals using golden angle. Also the mathematical art on instructor’s blog, Fronkostin is just amazing! Separately on twitter, I’ve gotten message on art with prime number, and that got me thinking to experiment with prime number & phyllotaxis flowers. I couldn’t figure...

Read more »

Popular Halloween Candy on US State Grid Map

October 24, 2018
By
Popular Halloween Candy on US State Grid Map

Halloween is coming..! Halloween is just around the corner, I am still trying to decide which candies to purchase this year for trick-or-treaters. Initially I was looking for data sets maybe comparing American chocolate bars vs Canadian chocolate bars possibly with sugar contents or lists of ingredients. I am really curious why there are big differences in candy between Canada and...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)