Skip to main content
HomeR

project

Phyllotaxis: Draw Flowers Using Mathematics

Beginner
Updated 06/2024
Use R to make art and create imaginary flowers inspired by nature.
Start project for free

Included withPremium or Teams

RData Visualization45 minutes9 Tasks1,500 XP22,637

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Project Description

Phyllotaxis: Draw Flowers Using Mathematics

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.

Phyllotaxis: Draw Flowers Using Mathematics

Use R to make art and create imaginary flowers inspired by nature.
Start project for free
  • 1

    Patterns in nature

  • 2

    Warming up: drawing points on a circle

  • 3

    Make it harmonious with the Golden Angle

  • 4

    Remove everything unnecessary

  • 5

    A bit of makeup: size, color and transparency

  • 6

    Play with aesthetics: the dandelion

  • 7

    Put all it together: the sunflower

  • 8

    What if you modify the angle?

  • 9

    All together now: imaginary flowers

FAQs

Join over 15 million learners and start Phyllotaxis: Draw Flowers Using Mathematics today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.