Animation Compendium

Animation Compendium - Animation Compendium - Messaggi

#1 Pubblicato: 21/08/2016 21:05:22
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Animation adds live to projects.
Enjoy your vist.

Jean

0Anim Brownian.sm (8,86 KiB) scaricato 1580 volta(e).
0Anim Analemma.sm (28,67 KiB) scaricato 1464 volta(e).
0Anim Ellipse.sm (13,42 KiB) scaricato 1516 volta(e).
0Anim Cheval.sm (21,13 KiB) scaricato 1537 volta(e).
0Anim Gozilla.sm (11,26 KiB) scaricato 1474 volta(e).
0Anim XFR.sm (11,65 KiB) scaricato 1517 volta(e).
1 utenti hanno apprezzato questo post
Davide Carpi 22/08/2016 12:05:00
#2 Pubblicato: 21/08/2016 22:13:52
Fridel Selitsky

Fridel Selitsky

520 apprezzamenti in 451 post.

Gruppo: User

Hi Jean
The program will run faster if the code is a little change

0Anim XFR1.sm (13,23 KiB) scaricato 1468 volta(e).
1 utenti hanno apprezzato questo post
Davide Carpi 22/08/2016 12:04:00
#3 Pubblicato: 22/08/2016 00:56:24
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Thanks Ber7 for the code.

On that one "0Anim CONVOLUTION" ... can't accumulate the path ?

Cheers, Jean

0Anim CONVOLUTION.sm (18,42 KiB) scaricato 1505 volta(e).
#4 Pubblicato: 22/08/2016 03:57:54
Fridel Selitsky

Fridel Selitsky

520 apprezzamenti in 451 post.

Gruppo: User

Instead tmin = 0 substitute the tmin=1

0Anim XFR1.sm (13,23 KiB) scaricato 1513 volta(e).
1 utenti hanno apprezzato questo post
Davide Carpi 22/08/2016 12:04:00
#5 Pubblicato: 22/08/2016 08:52:26
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

0Anim CONVOLUTION .sm
has been doctored for the accumulated path.
Plots are difficult to size, work sheet is Autocal OFF

Jean

0Anim CONVOLUTION.sm (30,72 KiB) scaricato 1541 volta(e).
#6 Pubblicato: 22/08/2016 12:35:58
Andrey Ivashov

Andrey Ivashov

2.345 apprezzamenti in 4.060 post.

Gruppo: Super Administrator

Thank you for interesting examples!

I've checked your worksheets and see one place for simple optimization applicable for most of them.
Often you use procedures to draw static set of points for all frames of animation. Procedures (when line is used right after the definition operator) calculated on every call - SMath Studio do not precalculate their values.

So, you can speed up calculation simply by line like this:
correction.png

This line asks the program to calculate procedure and store its values into the initial procedure variable. So, we have only one calculation of static shape for the whole animation!

I've corrected your examples according to the hint above and tested them in both versions: 0.97.5346 - the one you have used to create files and 0.98.6077 - the latest nightly build. Here are the results:
differences.png

Final versions of the worksheets:


Best regards.
3 utenti hanno apprezzato questo post
Fridel Selitsky 22/08/2016 12:43:00, frapuano 22/08/2016 15:11:00, Davide Carpi 23/08/2016 04:25:00
#7 Pubblicato: 22/08/2016 21:39:48
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Thanks Andrey: I toke good note and adapted.

Jean
  • Nuovi post
  • Nessun nuovo post