Forums: 要望、感想など (Thread #27510)

エクスプレッションについて (2010-10-04 17:41 by Anonymous #53221)

JavieでNiveのエクスプレッションは使えますか?

Reply to #53221×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: エクスプレッションについて (2010-10-05 04:07 by rakusan #53230)

NiVEのエクスプレッションをJavieで使うことはできません。

NiVEのエクスプレッションはC#で記述しますが、JavieはJavaScriptですので言語が全く異なります。

一方、AEのエクスプレッションはJavieと同じJavaScriptですが、プロパティや関数が異なるので、やはりJavieで使うことはできません。しかし、書き方はよく似ているものが多いので、AEのエクスプレッションは参考になる場合があります。
Reply to #53221

Reply to #53230×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: エクスプレッションについて (2010-10-14 17:14 by Anonymous #53369)

http://www.nicovideo.jp/watch/sm10224529
では、ここで紹介されているようなエクスプレッションをJavieで再現する事は可能でしょうか。
Reply to #53221

Reply to #53369×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: エクスプレッションについて (2010-10-15 12:13 by rakusan #53389)

こんな感じでどうでしょうか。
スケールのエクスプレッションにそのままコピペして使えます。


bpm=150;
min=90;
max1=110;
max2=130;
interval=2;

phase = time % (60/bpm) * (bpm/60);
n = parseInt(time / (60/bpm)) % interval + 1;
max = (n == interval) ? max2 : max1;

if (phase < 0.1) {
s = (max - min) * phase*10 + min;
} else {
s = (max - min) * (1.0-phase)/0.9 + min;
}

[s, s];
Reply to #53369

Reply to #53389×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: エクスプレッションについて (2010-10-15 17:12 by Anonymous #53394)

ありがとうございます!使わさせて頂きます!
Reply to #53221

Reply to #53394×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login