Free project

Phyllotaxis: Draw Flowers Using Mathematics

Use R to make art and create imaginary flowers inspired by nature.

Start Project
9 Tasks1,500 XP15,998 Learners

Loved by learners at thousands of companies


Project Description

R is a tool for doing serious statistics and data analysis. But not everything in life can be serious, life is also beautiful, and R can make beautiful things too. R can make art. The arrangement of leaves on a plant stem is ruled by spirals. This fact is called [phyllotaxis](https://en.wikipedia.org/wiki/Phyllotaxis) and it is a nice example of how mathematics can describe patterns in nature. In this project, we will *invent* flowers using this fact. This R project assumes you have familiarity with the `ggplot2` package. If you want to see more examples of how you can use R to make art, you should check out [the Fronkonstin blog](https://fronkonstin.com/) created by Antonio Sánchez Chinchón.

Project Tasks

  1. 1
    Patterns in nature
  2. 2
    Warming up: drawing points on a circle
  3. 3
    Make it harmonious with the Golden Angle
  4. 4
    Remove everything unnecessary
  5. 5
    A bit of makeup: size, color and transparency
  6. 6
    Play with aesthetics: the dandelion
  7. 7
    Put all it together: the sunflower
  8. 8
    What if you modify the angle?
  9. 9
    All together now: imaginary flowers
Technologies
R
Topics
Data VisualizationCase Studies
Antonio Sánchez Chinchón Headshot

Antonio Sánchez Chinchón

Data Scientist at Telefónica
Antonio Sánchez Chinchón is mathematician and works as data scientist at Telefónica, where he tries hard to extract value from data every day. He is the creator of [Fronkonstin](www.fronkonstin.com), an unclassifiable blog of mathematical experiments, data science, data art and R programming. He plays the banjo in a rock band. You can follow him on Twitter [@aschinchon](https://twitter.com/aschinchon).
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA