Discuss Scratch

eleventyOne
Scratcher
82 posts

Fractal tree maker Save Codes!


Project link

Hello there scratch! i have come back with my new project - A fractal tree Maker! Remade this from javascript using the p5.js library. For more information and for some important notes check out the notes and credits. This topic is to make your fractal trees and share your save codes here for others too see too. I will add more stuff to it too.

Current features that you can tweak:

Angle of branches
Shrink by factor
Pen size
Minimum Length to draw till(0 is infinite)

I will surely add more stuff later. Meanwhile share your trees here and maybe some suggestions too.

electrogame02
Scratcher
500+ posts

Fractal tree maker Save Codes!

Bonsai
74,0,4,58,0.39,0.63
eleventyOne
Scratcher
82 posts

Fractal tree maker Save Codes!

348,3,0,294,0.71,0.67
Looks oddly like a one-sided fern-fractal
eleventyOne
Scratcher
82 posts

Fractal tree maker Save Codes!

bump
eleventyOne
Scratcher
82 posts

Fractal tree maker Save Codes!

Woah pentagram:
114,1,5,146,0.03,0.94
eleventyOne
Scratcher
82 posts

Fractal tree maker Save Codes!

Would make good claws:
329,2,1,45,0.49,0.75
eleventyOne
Scratcher
82 posts

Fractal tree maker Save Codes!

Added mobile support (kind of?)
eleventyOne
Scratcher
82 posts

Fractal tree maker Save Codes!

Added 2 new variables:
>Starting_length: Defines initial length to construct on. Can be used to make large trees or proper bonsais.
>Shrink Trunk By: Reduces thickness of a branch each iteration.
eleventyOne
Scratcher
82 posts

Fractal tree maker Save Codes!

Today on 4/20/20 (xD) i have added a new mode: flower mode. Now you can add flowers to the barren tree. It kinda looks like a weirwood now tbh. Also a new variable to control flowers.
eleventyOne
Scratcher
82 posts

Fractal tree maker Save Codes!

Changed graphics a bit : )

Last edited by eleventyOne (April 20, 2020 18:56:59)

eleventyOne
Scratcher
82 posts

Fractal tree maker Save Codes!

Ok so today i added a new mode: Wiggle mode. This is not random mode, that'll come tomorrow or something. This just wiggle the branches around in a range of 1 to -1. Wiggle_repeat_time controls the amount of wiggles per second, i prefer lower times for better wiggle even though it may only work upto a few branches.
eleventyOne
Scratcher
82 posts

Fractal tree maker Save Codes!

Added random mode for randomly generating trees today.
eleventyOne
Scratcher
82 posts

Fractal tree maker Save Codes!

Today i added a useful feature: Default. Click it to show the tree with its default settings instead of clicking the green flag each time.

Powered by DjangoBB