LoginSignup
0
0

More than 5 years have passed since last update.

LiquidFunをjavascriptで動かしてみた

Posted at

LiquidFunはもともとC++で開発されているらしいのですが、
Googleのgithubにjavascript用に変換されたものがあるので、
ダウンロードするだけです。

https://github.com/google/liquidfun
の Clone or download からダウンロードするのではなく(うまく動かない)、
https://github.com/google/liquidfun/releases/
からダウンロードする。

フォルダパスは以下の通り
liquidfun-1.1.0/liquidfun/Box2D/lfjs/index.html

動くサンプル
http://www.uneri.tokyo/javascript/20181015_liquidfun01/index.html


http://google.github.io/liquidfun/testbed/index.html
と同じものだと思われます。

参考:
LiquidFunでJavaScript流体シミュレーション.
https://qiita.com/Quramy/items/578efec667267acf6871

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0