Animation Compendium

Animation Compendium - Animation Compendium - 消息

#1 已发布: 2016/8/21 21:05:22
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Animation adds live to projects.
Enjoy your vist.

Jean

0Anim Brownian.sm (8.86 KiB)已下载 1566 次。
0Anim Analemma.sm (28.67 KiB)已下载 1450 次。
0Anim Ellipse.sm (13.42 KiB)已下载 1494 次。
0Anim Cheval.sm (21.13 KiB)已下载 1523 次。
0Anim Gozilla.sm (11.26 KiB)已下载 1461 次。
0Anim XFR.sm (11.65 KiB)已下载 1500 次。
1位用户喜欢此帖子
Davide Carpi 2016/8/22 12:05:00
#2 已发布: 2016/8/21 22:13:52
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

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

0Anim XFR1.sm (13.23 KiB)已下载 1452 次。
1位用户喜欢此帖子
Davide Carpi 2016/8/22 12:04:00
#3 已发布: 2016/8/22 00:56:24
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Thanks Ber7 for the code.

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

Cheers, Jean

0Anim CONVOLUTION.sm (18.42 KiB)已下载 1488 次。
#4 已发布: 2016/8/22 03:57:54
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

Instead tmin = 0 substitute the tmin=1

0Anim XFR1.sm (13.23 KiB)已下载 1497 次。
1位用户喜欢此帖子
Davide Carpi 2016/8/22 12:04:00
#5 已发布: 2016/8/22 08:52:26
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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)已下载 1523 次。
#6 已发布: 2016/8/22 12:35:58
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: 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位用户喜欢此帖子
Fridel Selitsky 2016/8/22 12:43:00, frapuano 2016/8/22 15:11:00, Davide Carpi 2016/8/23 04:25:00
#7 已发布: 2016/8/22 21:39:48
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Thanks Andrey: I toke good note and adapted.

Jean
  • 有新帖
  • 无新帖