1 страниц (7 вхождений)
Animation Compendium - Animation Compendium - Сообщения
#1 Опубликовано: 21.08.2016 21:05:22
Animation adds live to projects.
Enjoy your vist.
Jean
0Anim Brownian.sm (8 КиБ) скачан 67 раз(а).
0Anim Analemma.sm (28 КиБ) скачан 52 раз(а).
0Anim Ellipse.sm (13 КиБ) скачан 62 раз(а).
0Anim Cheval.sm (21 КиБ) скачан 52 раз(а).
0Anim Gozilla.sm (11 КиБ) скачан 57 раз(а).
0Anim XFR.sm (11 КиБ) скачан 50 раз(а).
Enjoy your vist.
Jean
0Anim Brownian.sm (8 КиБ) скачан 67 раз(а).
0Anim Analemma.sm (28 КиБ) скачан 52 раз(а).
0Anim Ellipse.sm (13 КиБ) скачан 62 раз(а).
0Anim Cheval.sm (21 КиБ) скачан 52 раз(а).
0Anim Gozilla.sm (11 КиБ) скачан 57 раз(а).
0Anim XFR.sm (11 КиБ) скачан 50 раз(а).
1 пользователям понравился этот пост
Davide Carpi 22.08.2016 12:05:00
#2 Опубликовано: 21.08.2016 22:13:52
Hi Jean
The program will run faster if the code is a little change
0Anim XFR1.sm (13 КиБ) скачан 47 раз(а).
The program will run faster if the code is a little change
0Anim XFR1.sm (13 КиБ) скачан 47 раз(а).
1 пользователям понравился этот пост
Davide Carpi 22.08.2016 12:04:00
#3 Опубликовано: 22.08.2016 00:56:24
Thanks Ber7 for the code.
On that one "0Anim CONVOLUTION" ... can't accumulate the path ?
Cheers, Jean
0Anim CONVOLUTION.sm (18 КиБ) скачан 46 раз(а).
On that one "0Anim CONVOLUTION" ... can't accumulate the path ?
Cheers, Jean
0Anim CONVOLUTION.sm (18 КиБ) скачан 46 раз(а).
#4 Опубликовано: 22.08.2016 03:57:54
1 пользователям понравился этот пост
Davide Carpi 22.08.2016 12:04:00
#5 Опубликовано: 22.08.2016 08:52:26
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 КиБ) скачан 46 раз(а).
has been doctored for the accumulated path.
Plots are difficult to size, work sheet is Autocal OFF
Jean
0Anim CONVOLUTION.sm (30 КиБ) скачан 46 раз(а).
#6 Опубликовано: 22.08.2016 12:35:58
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 КиБ) скачан 49 раз(а).
- 0Anim Brownian.sm (8 КиБ) скачан 45 раз(а).
- 0Anim Cheval.sm (22 КиБ) скачан 47 раз(а).
- 0Anim Ellipse.sm (13 КиБ) скачан 52 раз(а).
- 0Anim Gozilla.sm (11 КиБ) скачан 47 раз(а).
- 0Anim XFR.sm (12 КиБ) скачан 42 раз(а).
- 0Anim XFR1.sm (11 КиБ) скачан 44 раз(а).
- 0Anim CONVOLUTION.sm (28 КиБ) скачан 60 раз(а).
Best regards.
3 пользователям понравился этот пост
#7 Опубликовано: 22.08.2016 21:39:48
Thanks Andrey: I toke good note and adapted.
Jean
Jean
1 страниц (7 вхождений)
-
Новые сообщения
-
Нет новых сообщений