Fractal Tree

Fractal Tree - a programme for displaying a fractal tree - 消息

#1 已发布: 2020/3/15 14:48:37
Gerard Bush

Gerard Bush

8个赞,共9个帖子。

组: User

Hi,

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

fractal tree.sm (7.93 KiB)已下载 1409 次。
fractal tree.pdf (209.83 KiB)已下载 869 次。

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位用户喜欢此帖子
Davide Carpi 2020/3/16 12:19:00
#2 已发布: 2020/3/15 18:30:25
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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)已下载 1398 次。
#3 已发布: 2020/3/16 07:13:02
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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)已下载 1333 次。
2位用户喜欢此帖子
Gerard Bush 2020/3/16 08:25:00, Davide Carpi 2020/3/16 12:19:00
#4 已发布: 2020/3/16 08:16:56
Gerard Bush

Gerard Bush

8个赞,共9个帖子。

组: 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)已下载 1334 次。
#5 已发布: 2020/3/16 09:04:22
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

In the program Jean I added the growth of the tree


Pattern fractal 1.sm (12.54 KiB)已下载 1344 次。
5位用户喜欢此帖子
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
#6 已发布: 2020/3/16 17:55:35
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

That is just what I was looking for.


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

Pattern Koch.sm (11.2 KiB)已下载 1351 次。
Pattern Frieze Heppi.sm (11.97 KiB)已下载 1371 次。
Pattern Hilbert.sm (8.53 KiB)已下载 1325 次。
Pattern Patch Work.sm (10.92 KiB)已下载 1361 次。
Pattern Fractal Sierpinski.sm (10.92 KiB)已下载 1387 次。
Pattern Snail.sm (26.85 KiB)已下载 1375 次。
Pattern Fern.sm (19.4 KiB)已下载 1382 次。
Pattern Sierpinski Kover.sm (16.72 KiB)已下载 1365 次。
Pattern Etoile Magic [Short].sm (46.69 KiB)已下载 1155 次。
Pattern Sierpinski Triangles.sm (35.21 KiB)已下载 1341 次。
Pattern Prototile.sm (116.5 KiB)已下载 1424 次。

#7 已发布: 2020/3/16 17:59:14
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Pattern PythagorasTree.sm (6.99 KiB)已下载 1389 次。
#8 已发布: 2020/3/17 15:24:27
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

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

Pattern fractal tree [CUT].sm (11.03 KiB)已下载 1143 次。
1位用户喜欢此帖子
Gerard Bush 2020/3/18 09:56:00
#9 已发布: 2020/3/18 09:58:54
Gerard Bush

Gerard Bush

8个赞,共9个帖子。

组: User


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

Fridel Selitsky

520个赞,共451个帖子。

组: User

Fractal tree with leaves

Pattern fractal 3.sm (12.01 KiB)已下载 1349 次。
3位用户喜欢此帖子
Davide Carpi 2020/3/18 15:07:00, Gerard Bush 2020/3/18 16:59:00, NDTM Amarasekera 2020/3/19 06:03:00
  • 有新帖
  • 无新帖