This is a video tutorial for Blender Python beginners.
We will go over how to create a Phyllotaxis pattern with a Python script in Blender.
Formula from “The Algorithmic Beauty of Plants” (Chapter 4, formula 4.1)
http://algorithmicbotany.org/papers/#abop
@TheCodingTrain Dan Shiffman’s Coding Challenge #30: Phyllotaxis
Final Code:
https://gist.github.com/CGArtPython/b02749c105936a0a63f6662bc545a0fd
Interactive graph for converting Polar Coordinates to Cartesian Coordinates
https://www.desmos.com/calculator/u8xt2whdpb
Original Graph
https://www.desmos.com/calculator/v7ynnsedd7
Spreadsheet
https://docs.google.com/spreadsheets/d/1ty1IGHTcBPWZ4JhUqWmYIN95zQYH33OVdqRSRNwETHo/edit?usp=sharing
To Convert from Polar to Cartesian
https://www.mathsisfun.com/polar-cartesian-coordinates.html
Blender Python Example: Using the modulo operator (%)
Blender: How to set up Python console output on macOS
Blender: How to set up Python console output on Linux
00:00 – Intro
01:24 – Phyllotaxis Formula overview
01:24 – Implement the Phyllotaxis Formula
11:30 – Add random divergence angles
13:50 – Outro
Intro Music
Fiery Trails – Silent Partner
Outro Music
Geographer – Easy Shake
#blender #python #scripting