import com.onformative.leap.LeapMotionP5; import com.leapmotion.leap.Finger; LeapMotionP5 leap; public void setup() { size(700, 500); leap = new LeapMotionP5(this); } public void draw() { background(0); fill(255); for (Finger finger : leap.getFingerList()) { PVector fingerPos = leap.getTip(finger); ellipse(fingerPos.x,fingerPos.y,10,10); //120,0noatainisyashinn } } public void stop() { leap.stop(); }
初めまして。LeapMotionで左右の手の判別ができるプログラムを完成させたいです。
言語はprocessingを使用しています。
上のプログラミングはLeapMotionp5をダウンロードし、active_fingersのコードです。
ここから左右の手が判別できるコードを教えて下さる方がいましたら教えて頂きたいです。
あなたの回答
tips
プレビュー