Published On Aug 3, 2016
In this coding challenge, I continue one of my favorite subjects: Algorithmic botany! This video covers the subject of Phyllotaxis, what it is and how it can be used to generate sunflower-like patterns inspired by nature. Code: https://thecodingtrain.com/challenges...
š¹ļø p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...
š„ Previous video: Ā Ā Ā ā¢Ā CodingĀ ChallengeĀ #29:Ā SmartĀ RocketsĀ i...Ā Ā
š„ Next video: Ā Ā Ā ā¢Ā CodingĀ ChallengeĀ #31:Ā FlappyĀ BirdĀ Ā
š„ All videos: Ā Ā Ā ā¢Ā CodingĀ ChallengesĀ Ā
References:
š Phyllotaxis on Wikipedia: https://en.wikipedia.org/wiki/Phyllot...
š Algorithmic Botany - Phyllotaxis: http://algorithmicbotany.org/papers/a...
Videos:
š„ Algorithmic Botany: https://thecodingtrain.com/tracks/alg...
š„ Polar to Cartesian Coordinates: Ā Ā Ā ā¢Ā 3.4Ā PolarĀ CoordinatesĀ -Ā TheĀ NatureĀ of...Ā Ā
š„ Golan Levin's Modulo Operator video: Ā Ā Ā ā¢Ā GuestĀ TutorialĀ #6:Ā TheĀ ModuloĀ Operato...Ā Ā
š“ Live Stream Archive #54: Ā Ā Ā ā¢Ā LiveĀ StreamĀ #54Ā -Ā PhyllotaxisĀ andĀ Mor...Ā Ā
Related Coding Challenges:
š #14 Recursive Fractal Trees: Ā Ā Ā ā¢Ā CodingĀ ChallengeĀ #14:Ā FractalĀ TreesĀ -...Ā Ā
š #15 Object-Oriented Fractal Trees: Ā Ā Ā ā¢Ā CodingĀ ChallengeĀ #15:Ā ObjectĀ Oriented...Ā Ā
š #16 Fractal Trees - L-System: Ā Ā Ā ā¢Ā CodingĀ ChallengeĀ #16:Ā L-SystemĀ Fracta...Ā Ā
š #81 Circle Morphing: Ā Ā Ā ā¢Ā CodingĀ ChallengeĀ #81.1:Ā CircleĀ Morphi...Ā Ā
š #133 Times Tables Cardioid Visualization: Ā Ā Ā ā¢Ā CodingĀ ChallengeĀ #133:Ā TimesĀ TablesĀ C...Ā Ā
š #134 Heart Curve: Ā Ā Ā ā¢Ā CodingĀ ChallengeĀ #134.1:Ā HeartĀ CurveĀ Ā
Timestamps:
0:00 Introduction
1:26 The phyllotaxis formulas
4:41 Add a dot with a specific angle and radius
5:27 Add formula for polar to cartesian coordinates
6:45 Scaling factor
7:38 Change the angle to render different patterns
8:29 Change to angleMode()
9:00 Change color mode to HSB
9:29 Cycle through the colors using modulus
10:4 Other creative possibilities
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
š Website: http://thecodingtrain.com/
š¾ Share Your Creation! https://thecodingtrain.com/guides/pas...
š© Suggest Topics: https://github.com/CodingTrain/Sugges...
š” GitHub: https://github.com/CodingTrain
š¬ Discord: Ā Ā /Ā discordĀ Ā
š Membership: http://youtube.com/thecodingtrain/join
š Store: https://standard.tv/codingtrain
šļø Twitter: Ā Ā /Ā thecodingtrainĀ Ā
šø Instagram: Ā Ā /Ā the.coding.trainĀ Ā
š„ Coding Challenges: Ā Ā Ā ā¢Ā CodingĀ ChallengesĀ Ā
š„ Intro to Programming: Ā Ā Ā ā¢Ā StartĀ learningĀ here!Ā Ā
š p5.js: https://p5js.org
š p5.js Web Editor: https://editor.p5js.org/
š Processing: https://processing.org
š Code of Conduct: https://github.com/CodingTrain/Code-o...
This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...
#algorithmicbotany #phyllotaxis #generativeart #p5js #javascript