Summary of Coding Challenge #14: Fractal Trees - Recursive

This is an AI generated summary. There may be inaccuracies.
Summarize another video · Purchase summarize.tech Premium

00:00:00 - 00:15:00

The coder explains how to create a fractal tree by adjusting a slider and using code to draw the branches. The code is recursive and the coder also demonstrates how to keep track of where the user is in the tree and adjust the thickness of the branches using stroke weight.

  • 00:00:00 In this coding challenge, the presenter will create a fractal tree in Javascript. This tree will be recursive, meaning that it will be defined in terms of itself. The recursive depth of the tree will be determined by a function and an exit condition will be implemented. The tree will be drawn in a Canvas using a function called branch.
  • 00:05:00 In this coding challenge, the author demonstrates how to create a recursive fractal tree using a function. The function takes an argument, height to draw the branch at, and branch length to shrink the branch when it's too long. The author also makes the angle of rotation a variable and creates a slider to show how the tree can be dynamically adjusted.
  • 00:10:00 The coder demonstrates how to create a fractal tree by manipulating a slider and code to draw the branches. The code is recursive, meaning that the branches are drawn by drawing lines, and then rotating based on a boolean variable. The coder also demonstrates how to keep track of where the user is in the tree and adjust the thickness of the branches using stroke weight.
  • 00:15:00 This YouTube video explains how to create a fractal tree using mathematical functions.

Copyright © 2024 Summarize, LLC. All rights reserved. · Terms of Service · Privacy Policy · As an Amazon Associate, summarize.tech earns from qualifying purchases.