Fractal Tree

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

#1 Pubblicato: 15/03/2020 14:48:37
Gerard Bush

Gerard Bush

8 apprezzamenti in 9 post.

Gruppo: User

Hi,

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

fractal tree.sm (7,93 KiB) scaricato 1396 volta(e).
fractal tree.pdf (209,83 KiB) scaricato 863 volta(e).

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 utenti hanno apprezzato questo post
Davide Carpi 16/03/2020 12:19:00
#2 Pubblicato: 15/03/2020 18:30:25
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1386 volta(e).
#3 Pubblicato: 16/03/2020 07:13:02
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1323 volta(e).
2 utenti hanno apprezzato questo post
Gerard Bush 16/03/2020 08:25:00, Davide Carpi 16/03/2020 12:19:00
#4 Pubblicato: 16/03/2020 08:16:56
Gerard Bush

Gerard Bush

8 apprezzamenti in 9 post.

Gruppo: 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) scaricato 1323 volta(e).
#5 Pubblicato: 16/03/2020 09:04:22
Fridel Selitsky

Fridel Selitsky

520 apprezzamenti in 451 post.

Gruppo: User

In the program Jean I added the growth of the tree


Pattern fractal 1.sm (12,54 KiB) scaricato 1327 volta(e).
5 utenti hanno apprezzato questo post
Davide Carpi 16/03/2020 12:19:00, Alvaro 17/03/2020 16:15:00, Вячеслав Мезенцев 16/03/2020 13:59:00, frapuano 16/03/2020 09:35:00, Gerard Bush 16/03/2020 10:55:00
#6 Pubblicato: 16/03/2020 17:55:35
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

That is just what I was looking for.


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

Pattern Koch.sm (11,2 KiB) scaricato 1339 volta(e).
Pattern Frieze Heppi.sm (11,97 KiB) scaricato 1360 volta(e).
Pattern Hilbert.sm (8,53 KiB) scaricato 1311 volta(e).
Pattern Patch Work.sm (10,92 KiB) scaricato 1349 volta(e).
Pattern Fractal Sierpinski.sm (10,92 KiB) scaricato 1378 volta(e).
Pattern Snail.sm (26,85 KiB) scaricato 1359 volta(e).
Pattern Fern.sm (19,4 KiB) scaricato 1369 volta(e).
Pattern Sierpinski Kover.sm (16,72 KiB) scaricato 1348 volta(e).
Pattern Etoile Magic [Short].sm (46,69 KiB) scaricato 1147 volta(e).
Pattern Sierpinski Triangles.sm (35,21 KiB) scaricato 1332 volta(e).
Pattern Prototile.sm (116,5 KiB) scaricato 1412 volta(e).

#7 Pubblicato: 16/03/2020 17:59:14
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Pattern PythagorasTree.sm (6,99 KiB) scaricato 1381 volta(e).
#8 Pubblicato: 17/03/2020 15:24:27
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

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

Pattern fractal tree [CUT].sm (11,03 KiB) scaricato 1131 volta(e).
1 utenti hanno apprezzato questo post
Gerard Bush 18/03/2020 09:56:00
#9 Pubblicato: 18/03/2020 09:58:54
Gerard Bush

Gerard Bush

8 apprezzamenti in 9 post.

Gruppo: User


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

Fridel Selitsky

520 apprezzamenti in 451 post.

Gruppo: User

Fractal tree with leaves

Pattern fractal 3.sm (12,01 KiB) scaricato 1339 volta(e).
3 utenti hanno apprezzato questo post
Davide Carpi 18/03/2020 15:07:00, Gerard Bush 18/03/2020 16:59:00, NDTM Amarasekera 19/03/2020 06:03:00
  • Nuovi post
  • Nessun nuovo post