Fractal Tree

Fractal Tree - a programme for displaying a fractal tree - Messages

#1 Posted: 3/15/2020 2:48:37 PM
Gerard Bush

Gerard Bush

8 likes in 9 posts.

Group: User

Hi,

I have created a programme to display a fractal tree in a 2D plot.

fractal tree.sm (7.93 KiB) downloaded 847 time(s).
fractal tree.pdf (209.83 KiB) downloaded 504 time(s).

I would be interested to find out if there is a way to animate the plot process so that the fractal tree is drawn element by element, as each point is calculated.

Can anyone give me any pointers on how to do it?

If that is not possible, how would the animation be done after all the plot points are calculated?

Thank you

Gerard Bush
1 users liked this post
Davide Carpi 3/16/2020 12:19:00 PM
#2 Posted: 3/15/2020 6:30:25 PM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

I would be interested to find out if there is a way to animate the plot process so that the fractal tree is drawn element by element, as each point is calculated.


Like this ... in ½ points.

fractal tree.sm (11.31 KiB) downloaded 870 time(s).
#3 Posted: 3/16/2020 7:13:02 AM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

I would be interested to find out if there is a way to animate the plot process so that the fractal tree is drawn element by element, as each point is calculated.


... hard to size the animation plot canvas.
Otherwise renders well ½ length ... greedy 1533 frames !
Search "Samples"... "Pattern" for lot more.
If you can't find and want more: please ask for.
Cheers ... Jean

Pattern fractal tree.sm (17.6 KiB) downloaded 817 time(s).
2 users liked this post
Gerard Bush 3/16/2020 8:25:00 AM, Davide Carpi 3/16/2020 12:19:00 PM
#4 Posted: 3/16/2020 8:16:56 AM
Gerard Bush

Gerard Bush

8 likes in 9 posts.

Group: User

Thank you Jean,

That is just what I was looking for.

To reduce the number of points, and reduce the calculation time the minimum length can be increased. For example, change 'if lenght > 0.25' in the tree function to 'if length > 1.0'. I guess this could even be defined as a variable.

Cheers,

Gerard

Pattern fractal tree.sm (18.39 KiB) downloaded 838 time(s).
#5 Posted: 3/16/2020 9:04:22 AM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

In the program Jean I added the growth of the tree


Pattern fractal 1.sm (12.54 KiB) downloaded 838 time(s).
5 users liked this post
Davide Carpi 3/16/2020 12:19:00 PM, Alvaro 3/17/2020 4:15:00 PM, Вячеслав Мезенцев 3/16/2020 1:59:00 PM, frapuano 3/16/2020 9:35:00 AM, Gerard Bush 3/16/2020 10:55:00 AM
#6 Posted: 3/16/2020 5:55:35 PM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

That is just what I was looking for.


Few more attached ... Search Julia, Mandelbrot in Forum.

Pattern Koch.sm (11.2 KiB) downloaded 827 time(s).
Pattern Frieze Heppi.sm (11.97 KiB) downloaded 855 time(s).
Pattern Hilbert.sm (8.53 KiB) downloaded 810 time(s).
Pattern Patch Work.sm (10.92 KiB) downloaded 822 time(s).
Pattern Fractal Sierpinski.sm (10.92 KiB) downloaded 860 time(s).
Pattern Snail.sm (26.85 KiB) downloaded 859 time(s).
Pattern Fern.sm (19.4 KiB) downloaded 872 time(s).
Pattern Sierpinski Kover.sm (16.72 KiB) downloaded 834 time(s).
Pattern Etoile Magic [Short].sm (46.69 KiB) downloaded 700 time(s).
Pattern Sierpinski Triangles.sm (35.21 KiB) downloaded 835 time(s).
Pattern Prototile.sm (116.5 KiB) downloaded 901 time(s).

#7 Posted: 3/16/2020 5:59:14 PM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Pattern PythagorasTree.sm (6.99 KiB) downloaded 859 time(s).
#8 Posted: 3/17/2020 3:24:27 PM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Hello Gerard ! ... today, I have cut the tree for You.

Pattern fractal tree [CUT].sm (11.03 KiB) downloaded 697 time(s).
1 users liked this post
Gerard Bush 3/18/2020 9:56:00 AM
#9 Posted: 3/18/2020 9:58:54 AM
Gerard Bush

Gerard Bush

8 likes in 9 posts.

Group: User


Thank you very much, Jean and Ber7 for your additions!
#10 Posted: 3/18/2020 12:06:31 PM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Fractal tree with leaves

Pattern fractal 3.sm (12.01 KiB) downloaded 850 time(s).
3 users liked this post
Davide Carpi 3/18/2020 3:07:00 PM, Gerard Bush 3/18/2020 4:59:00 PM, NDTM Amarasekera 3/19/2020 6:03:00 AM
  • New Posts
  • No New Posts