Processingで高度なことをやろうとすると、Processingに標準搭載されていないProcessing用ライブラリや、Java用のライブラリを使うことがあるかもしれません。今回は、そういった外部ライブラリはどこに置けば良いのかを調べてみました。 1. codeフォルダに置く (一番簡単、その場限り、古くからの方法) 一番簡単な方法としては、該当スケッチのフォルダに、codeフォルダを作成して、その中に外部ライブラリのjarファイルを置きます。フォルダ構造だと、以下のようになります。 SampleSketch code SomeExternalLibrary01.jar AnotherExternalLibrary01.jar ***.jar SampleSketch.pde codeフォルダの中に置いた外部ライブラリのjarファイルは、自動的にProcessing側が判断して読み
以前からチェックしていたページでちょっとした動きがあったのに気がついて(何のことかは別記事で)、それを見てProcessingでRaspberry Piの拡張I/Oが制御できればいろいろできるんじゃないかと考えついちゃったのでやってみたことをメモ。 Pi4Jをインストール まず、いろいろと検索してみたところ、wiring Piのページでも紹介されていたPi4Jというライブラリを使うとうまくいきそうだということが分かった。 まずは案内に従ってJDKとPi4Jをインストール、そしてExampleをコンパイル。残念ながら、案内に書いてあるJDKとバージョンが違うせいか、 java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory (
Minim is an audio library that uses the JavaSound API, a bit of Tritonus, and Javazoom’s MP3SPI to provide an easy to use audio library for people developing in the Processing environment. The philosophy behind the API is to make integrating audio into your sketches as simple as possible while still providing a reasonable amount of flexibility for more advanced users. There are no callbacks and yo
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く