1 pagine (7 elementi)
Animation Compendium - Animation Compendium - Messaggi
Animation adds live to projects.
Enjoy your vist.
Jean
0Anim Brownian.sm (8,86 KiB) scaricato 1556 volta(e).
0Anim Analemma.sm (28,67 KiB) scaricato 1437 volta(e).
0Anim Ellipse.sm (13,42 KiB) scaricato 1478 volta(e).
0Anim Cheval.sm (21,13 KiB) scaricato 1511 volta(e).
0Anim Gozilla.sm (11,26 KiB) scaricato 1452 volta(e).
0Anim XFR.sm (11,65 KiB) scaricato 1492 volta(e).
Enjoy your vist.
Jean
0Anim Brownian.sm (8,86 KiB) scaricato 1556 volta(e).
0Anim Analemma.sm (28,67 KiB) scaricato 1437 volta(e).
0Anim Ellipse.sm (13,42 KiB) scaricato 1478 volta(e).
0Anim Cheval.sm (21,13 KiB) scaricato 1511 volta(e).
0Anim Gozilla.sm (11,26 KiB) scaricato 1452 volta(e).
0Anim XFR.sm (11,65 KiB) scaricato 1492 volta(e).
1 utenti hanno apprezzato questo post
Davide Carpi 22/08/2016 12:05:00
Hi Jean
The program will run faster if the code is a little change
0Anim XFR1.sm (13,23 KiB) scaricato 1446 volta(e).
The program will run faster if the code is a little change
0Anim XFR1.sm (13,23 KiB) scaricato 1446 volta(e).
1 utenti hanno apprezzato questo post
Davide Carpi 22/08/2016 12:04:00
Thanks Ber7 for the code.
On that one "0Anim CONVOLUTION" ... can't accumulate the path ?
Cheers, Jean
0Anim CONVOLUTION.sm (18,42 KiB) scaricato 1477 volta(e).
On that one "0Anim CONVOLUTION" ... can't accumulate the path ?
Cheers, Jean
0Anim CONVOLUTION.sm (18,42 KiB) scaricato 1477 volta(e).
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 1517 volta(e).
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 1517 volta(e).
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:

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:

Final versions of the worksheets:
Best regards.
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:

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:

Final versions of the worksheets:
- 0Anim Analemma.sm (28,88 KiB) scaricato 1458 volta(e).
- 0Anim Brownian.sm (8,86 KiB) scaricato 1466 volta(e).
- 0Anim Cheval.sm (22 KiB) scaricato 1475 volta(e).
- 0Anim Ellipse.sm (13,85 KiB) scaricato 1530 volta(e).
- 0Anim Gozilla.sm (11,71 KiB) scaricato 1452 volta(e).
- 0Anim XFR.sm (12,01 KiB) scaricato 1445 volta(e).
- 0Anim XFR1.sm (11,53 KiB) scaricato 1466 volta(e).
- 0Anim CONVOLUTION.sm (28,13 KiB) scaricato 1489 volta(e).
Best regards.
3 utenti hanno apprezzato questo post
Thanks Andrey: I toke good note and adapted.
Jean
Jean
1 pagine (7 elementi)
- Nuovi post
- Nessun nuovo post