Turbo. Hello there, Scratch! I am back with my third project, a Fractal Tree Maker which is completely object-oriented. Make sure you read the notes(important part). Click to create new branches. Click F to (pay respects) either show or hide flowers. Click W to wiggle the tree (only works upto a few branches depending on the wiggle repeat var.) Click S to get save code. Click L to load data. Click Settings icon to show settings. Click D to show the tree with its default settings. Click R for randomly generated tree. Press R to reset to default settings. Use turbo-mode, otherwise it'll go haywire(W) Share your save codes in the comments or in this projects discussion topic: https://scratch.mit.edu/discuss/topic/396508/
Remade in scratch from Javascript(for a change) using the p5 lib(nice). This took wayyy too much time because of debugging (Oh, the horrors :( ). I would give some credit to the coding train for the initial code but then i just ended up making everything by myself, because i messed everything up Thanks to @deck26 for help with changing the output according to change in slider value in real-time! Font: Halfomania VERY IMPORTANT: If you are going to use this somehow then it is very important to know if this is the right thing to use because there are different methods to make fractal trees. So what does object-oriented in this context mean- This method of making the fractal tree allows you to actually animate or add effects to the whole tree, i.e., This whole thing is made of vectors with their coords. Every branch. Like you could make the tree jitter based on the coords in the tree array or add leaves or wind and whatnot. BUT, it is very important to note that this is not the simplest and most efficient way to make fractal trees and if you are not looking for a wholly animatable project, then i recommend you do not use this and instead use a simple recursive fractal tree which would come well under 50 blocks. Look at 's recursive fractal tree based on my own(i unshared it): Changelog: Apr 23 2020: >Added Default button to revert back to original settings. Apr 22 2020: >Added random mode. Generate random trees. Apr 21 2020: >Added wiggle mode(this is not random mode, that'll come later) >Added seconds variable to control wiggle. >Changed graphics. 4/20/20(xD): >Added flower mode >Added Show_flower_after variable Apr 18 2020: >Fixed new variable bug. >Added new variable to shrink trunk size each iteration. Apr 17 2020: >Added starting_length variable to create proper bonsais. Apr 16 2020: >Added Save & Load System Apr 15 2020: >Initial release