Twitter

leapmotion

“leapmotion” is a Pd external object, that outputs data from leap motion by Leap Motion Inc.

leap motion
leap motion

Download

    Version 0.1 (alpha)

  • leapmotion for mac
  • leapmotion for linux

The zip file contains the Pd-external binary file and a sample Pd patch.

Source Code

  • hosted on Github
  • The github repo contains only essential C++ files.
    flext, a C++ SDK for Pd/Max external development by Thomas Grill and LEAP SDK are required for compiling. Please download Leap SDK and flext separately from leap and grrrr.org.

License

  • This external is released under the Standard Improved BSD License.

Bug Report

  • info at chikashi dot net

Forum

Developed by Chikashi Miyama

—-
leapmotionはLeap社のトラッキングデバイスLeap MotionからのデータをPdで利用するためのエクスターナル・オブジェクトです。
オブジェクトのダウンロードは上記、Downloadの項目より、またソースコードはSource Codeの項目からGitHubにアクセスしてください。
コンパイルを行う場合はThomas Grill氏によるflextというライブラリとLeap SDKが必要になりますので個々にダウンロードしてください。
この外部オブジェクトのライセンスはBSD Standard Improvedです。

制作:美山千香士

6 Comments

  • Posted 2013年7月25日 at 5:50 AM | Permalink

    Hey man. Great work with this. Unfortunately, I am having some issues calling the external. I get the following error:

    /Applications/Pd-extended.app/Contents/Resources/extra/leapmotion/leapmotion.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/Resources/extra/leapmotion/leapmotion.pd_darwin, 10): Library not loaded: @loader_path/libLeap.dylib
    Referenced from: /Applications/Pd-extended.app/Contents/Resources/extra/leapmotion/leapmotion.pd_darwin
    Reason: image not found
    leapmotion
    … couldn’t create

    Any ideas?

    Thanks,

    Ricky

  • Posted 2013年7月27日 at 6:46 PM | Permalink

    The lack of libLeap.dylib causes this problem. I just added a copy of libLeap.dylib. Please download the package and try again.

  • Jonghyun Kim
    Posted 2013年8月30日 at 12:48 AM | Permalink

    Thanks so much Chikashi ;)

  • Posted 2014年1月8日 at 9:55 PM | Permalink

    Hi, is there a chance you could write some sort of assistance/help guide on how to get the external installed onto OSX 10.9 Mavericks running PD Extended? I placed all the files to ~/Library/PD-extended and added that path to PD Extended, yet when I rightclick on leapmotion -atom in PD-extended, the “Leave/Apply All/Apply&Leave/Help” buttons don’t let me close the window at all, it keeps complaining:

    invalid command name “pd”
    invalid command name “pd”
    while executing
    “pd [concat $id cancel \;]”
    (procedure “flext_cancel” line 2)
    invoked from within
    “flext_cancel .gfxstub3c53a0 ”
    invoked from within
    “.gfxstub3c53a0.buttonframe.cancel invoke”
    (“uplevel” body line 1)
    invoked from within
    “uplevel #0 [list $w invoke]”
    (procedure “tk::ButtonUp” line 23)
    invoked from within
    “tk::ButtonUp .gfxstub3c53a0.buttonframe.cancel”
    (command bound to event)

    What am I doing wrong?
    How do I change the leapmotion darwin to expect PD-extended instead of “pd”? :)

    Hopefully yours..

    • jong
      Posted 2014年1月14日 at 12:46 PM | Permalink

      I have exactly same.

      ———
      invalid command name “pd”
      invalid command name “pd”
      while executing
      “pd [concat $id cancel \;]”
      (procedure “flext_cancel” line 2)
      invoked from within
      “flext_cancel .gfxstub5a4f80 ”
      invoked from within
      “.gfxstub5a4f80.buttonframe.cancel invoke”
      (“uplevel” body line 1)
      invoked from within
      “uplevel #0 [list $w invoke]”
      (procedure “tk::ButtonUp” line 23)
      invoked from within
      “tk::ButtonUp .gfxstub5a4f80.buttonframe.cancel”
      (command bound to event)
      ——

  • max
    Posted 2014年1月18日 at 10:41 AM | Permalink

    Hi Chikashi,
    I’ve downloaded everything, but how can i build it on Linux? What are the steps?
    max

Post a Comment

Your email is kept private. Required fields are marked *

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>