Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Gerard Bush  
#1 Posted : 15 March 2020 20:48:37(UTC)
Gerard Bush

Rank: Newbie

Groups: Registered
Joined: 25/02/2011(UTC)
Posts: 9
United Kingdom

Was thanked: 8 time(s) in 4 post(s)
Hi,

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

fractal tree.sm (8kb) downloaded 29 time(s).
fractal tree.pdf (210kb) downloaded 38 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

Edited by user 15 March 2020 23:16:12(UTC)  | Reason: Not specified

thanks 1 user thanked Gerard Bush for this useful post.
on 16/03/2020(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 16 March 2020 00:30:25(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Gerard Bush Go to Quoted Post
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 (12kb) downloaded 27 time(s).
Offline Jean Giraud  
#3 Posted : 16 March 2020 13:13:02(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Gerard Bush Go to Quoted Post
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 (18kb) downloaded 15 time(s).
thanks 2 users thanked Jean Giraud for this useful post.
on 16/03/2020(UTC),  on 16/03/2020(UTC)
Offline Gerard Bush  
#4 Posted : 16 March 2020 14:16:56(UTC)
Gerard Bush

Rank: Newbie

Groups: Registered
Joined: 25/02/2011(UTC)
Posts: 9
United Kingdom

Was thanked: 8 time(s) in 4 post(s)
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 (19kb) downloaded 18 time(s).

Edited by user 16 March 2020 14:22:12(UTC)  | Reason: Not specified

Offline Ber7  
#5 Posted : 16 March 2020 15:04:22(UTC)
Ber7


Rank: Advanced Member

Groups: Registered
Joined: 15/07/2010(UTC)
Posts: 437
Man
Israel
Location: Beer-Sheva

Was thanked: 520 time(s) in 288 post(s)
In the program Jean I added the growth of the tree


Pattern fractal 1.sm (13kb) downloaded 24 time(s).
thanks 5 users thanked Ber7 for this useful post.
on 16/03/2020(UTC),  on 16/03/2020(UTC),  on 16/03/2020(UTC),  on 16/03/2020(UTC),  on 17/03/2020(UTC)
Offline Jean Giraud  
#6 Posted : 16 March 2020 23:55:35(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Gerard Bush Go to Quoted Post
That is just what I was looking for.

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

Pattern Koch.sm (12kb) downloaded 22 time(s).
Pattern Frieze Heppi.sm (12kb) downloaded 17 time(s).
Pattern Hilbert.sm (9kb) downloaded 16 time(s).
Pattern Patch Work.sm (11kb) downloaded 18 time(s).
Pattern Fractal Sierpinski.sm (11kb) downloaded 19 time(s).
Pattern Snail.sm (27kb) downloaded 18 time(s).
Pattern Fern.sm (20kb) downloaded 15 time(s).
Pattern Sierpinski Kover.sm (17kb) downloaded 16 time(s).
Pattern Etoile Magic [Short].sm (47kb) downloaded 15 time(s).
Pattern Sierpinski Triangles.sm (36kb) downloaded 15 time(s).
Pattern Prototile.sm (117kb) downloaded 18 time(s).

Offline Jean Giraud  
#7 Posted : 16 March 2020 23:59:14(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Pattern PythagorasTree.sm (7kb) downloaded 27 time(s).
Offline Jean Giraud  
#8 Posted : 17 March 2020 21:24:27(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Hello Gerard ! ... today, I have cut the tree for You.

Pattern fractal tree [CUT].sm (12kb) downloaded 24 time(s).
thanks 1 user thanked Jean Giraud for this useful post.
on 18/03/2020(UTC)
Offline Gerard Bush  
#9 Posted : 18 March 2020 15:58:54(UTC)
Gerard Bush

Rank: Newbie

Groups: Registered
Joined: 25/02/2011(UTC)
Posts: 9
United Kingdom

Was thanked: 8 time(s) in 4 post(s)

Thank you very much, Jean and Ber7 for your additions!
Offline Ber7  
#10 Posted : 18 March 2020 18:06:31(UTC)
Ber7


Rank: Advanced Member

Groups: Registered
Joined: 15/07/2010(UTC)
Posts: 437
Man
Israel
Location: Beer-Sheva

Was thanked: 520 time(s) in 288 post(s)
Fractal tree with leaves

Pattern fractal 3.sm (13kb) downloaded 36 time(s).
thanks 3 users thanked Ber7 for this useful post.
on 18/03/2020(UTC),  on 18/03/2020(UTC),  on 19/03/2020(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.