1 Pages (10 items)
Fractal Tree - a programme for displaying a fractal tree - Messages
Hi,
I have created a programme to display a fractal tree in a 2D plot.
fractal tree.sm (7.93 KiB) downloaded 1079 time(s).
fractal tree.pdf (209.83 KiB) downloaded 674 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
I have created a programme to display a fractal tree in a 2D plot.
fractal tree.sm (7.93 KiB) downloaded 1079 time(s).
fractal tree.pdf (209.83 KiB) downloaded 674 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 2020/3/16 12:19:00
WroteI 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 1089 time(s).
WroteI 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 1039 time(s).
2 users liked this post
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 1047 time(s).
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 1047 time(s).
In the program Jean I added the growth of the tree


Pattern fractal 1.sm (12.54 KiB) downloaded 1036 time(s).


Pattern fractal 1.sm (12.54 KiB) downloaded 1036 time(s).
5 users liked this post
Davide Carpi 2020/3/16 12:19:00, Alvaro 2020/3/17 16:15:00, Вячеслав Мезенцев 2020/3/16 13:59:00, frapuano 2020/3/16 09:35:00, Gerard Bush 2020/3/16 10:55:00
WroteThat is just what I was looking for.
Few more attached ... Search Julia, Mandelbrot in Forum.
Pattern Koch.sm (11.2 KiB) downloaded 1046 time(s).
Pattern Frieze Heppi.sm (11.97 KiB) downloaded 1068 time(s).
Pattern Hilbert.sm (8.53 KiB) downloaded 1014 time(s).
Pattern Patch Work.sm (10.92 KiB) downloaded 1036 time(s).
Pattern Fractal Sierpinski.sm (10.92 KiB) downloaded 1083 time(s).
Pattern Snail.sm (26.85 KiB) downloaded 1067 time(s).
Pattern Fern.sm (19.4 KiB) downloaded 1068 time(s).
Pattern Sierpinski Kover.sm (16.72 KiB) downloaded 1053 time(s).
Pattern Etoile Magic [Short].sm (46.69 KiB) downloaded 864 time(s).
Pattern Sierpinski Triangles.sm (35.21 KiB) downloaded 1043 time(s).
Pattern Prototile.sm (116.5 KiB) downloaded 1106 time(s).
Pattern PythagorasTree.sm (6.99 KiB) downloaded 1086 time(s).
Hello Gerard ! ... today, I have cut the tree for You.
Pattern fractal tree [CUT].sm (11.03 KiB) downloaded 883 time(s).
Pattern fractal tree [CUT].sm (11.03 KiB) downloaded 883 time(s).
1 users liked this post
Gerard Bush 2020/3/18 09:56:00
Thank you very much, Jean and Ber7 for your additions!
3 users liked this post
Davide Carpi 2020/3/18 15:07:00, Gerard Bush 2020/3/18 16:59:00, NDTM Amarasekera 2020/3/19 06:03:00
1 Pages (10 items)
- New Posts
- No New Posts
