1 Pages (7 items)
Animation Compendium - Animation Compendium - Messages
#1 Posted: 8/21/2016 9:05:22 PM
Animation adds live to projects.
Enjoy your vist.
Jean
0Anim Brownian.sm (8.86 KiB) downloaded 1535 time(s).
0Anim Analemma.sm (28.67 KiB) downloaded 1412 time(s).
0Anim Ellipse.sm (13.42 KiB) downloaded 1458 time(s).
0Anim Cheval.sm (21.13 KiB) downloaded 1487 time(s).
0Anim Gozilla.sm (11.26 KiB) downloaded 1428 time(s).
0Anim XFR.sm (11.65 KiB) downloaded 1471 time(s).
Enjoy your vist.
Jean
0Anim Brownian.sm (8.86 KiB) downloaded 1535 time(s).
0Anim Analemma.sm (28.67 KiB) downloaded 1412 time(s).
0Anim Ellipse.sm (13.42 KiB) downloaded 1458 time(s).
0Anim Cheval.sm (21.13 KiB) downloaded 1487 time(s).
0Anim Gozilla.sm (11.26 KiB) downloaded 1428 time(s).
0Anim XFR.sm (11.65 KiB) downloaded 1471 time(s).
1 users liked this post
Davide Carpi 8/22/2016 12:05:00 PM
#2 Posted: 8/21/2016 10:13:52 PM
Hi Jean
The program will run faster if the code is a little change
0Anim XFR1.sm (13.23 KiB) downloaded 1421 time(s).
The program will run faster if the code is a little change
0Anim XFR1.sm (13.23 KiB) downloaded 1421 time(s).
1 users liked this post
Davide Carpi 8/22/2016 12:04:00 PM
#3 Posted: 8/22/2016 12:56:24 AM
Thanks Ber7 for the code.
On that one "0Anim CONVOLUTION" ... can't accumulate the path ?
Cheers, Jean
0Anim CONVOLUTION.sm (18.42 KiB) downloaded 1451 time(s).
On that one "0Anim CONVOLUTION" ... can't accumulate the path ?
Cheers, Jean
0Anim CONVOLUTION.sm (18.42 KiB) downloaded 1451 time(s).
#5 Posted: 8/22/2016 8:52:26 AM
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) downloaded 1491 time(s).
has been doctored for the accumulated path.
Plots are difficult to size, work sheet is Autocal OFF
Jean
0Anim CONVOLUTION.sm (30.72 KiB) downloaded 1491 time(s).
#6 Posted: 8/22/2016 12:35:58 PM
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) downloaded 1435 time(s).
- 0Anim Brownian.sm (8.86 KiB) downloaded 1440 time(s).
- 0Anim Cheval.sm (22 KiB) downloaded 1453 time(s).
- 0Anim Ellipse.sm (13.85 KiB) downloaded 1503 time(s).
- 0Anim Gozilla.sm (11.71 KiB) downloaded 1423 time(s).
- 0Anim XFR.sm (12.01 KiB) downloaded 1415 time(s).
- 0Anim XFR1.sm (11.53 KiB) downloaded 1443 time(s).
- 0Anim CONVOLUTION.sm (28.13 KiB) downloaded 1465 time(s).
Best regards.
3 users liked this post
Fridel Selitsky 8/22/2016 12:43:00 PM, frapuano 8/22/2016 3:11:00 PM, Davide Carpi 8/23/2016 4:25:00 AM
#7 Posted: 8/22/2016 9:39:48 PM
Thanks Andrey: I toke good note and adapted.
Jean
Jean
1 Pages (7 items)
- New Posts
- No New Posts