Aplikasi ini SUDAH FUNGSIONAL dan bisa digunakan untuk berbagai keperluan!
- Swipe Left → Next slide (Arrow Right)
- Swipe Right → Previous slide (Arrow Left)
- Works with: PowerPoint, Google Slides, PDF viewers
- Push Forward → Play/Pause video
- Swipe Up → Volume up
- Swipe Down → Volume down
- Open Palm → Stop all media
- Works with: YouTube, Netflix, local videos
- Swipe Up → Scroll up (300px)
- Swipe Down → Scroll down (300px)
- Peace Gesture → Toggle fullscreen
- Works with: Any website
- Open Palm → Escape key (close dialogs, exit fullscreen)
- Peace Gesture → Fullscreen toggle
- Buka presentasi
- Start gesture control:
npm start - Klik "Start Camera"
- Swipe left untuk next slide
- Swipe right untuk previous slide
- Buka YouTube video
- Start gesture control
- Push forward untuk play/pause
- Swipe up/down untuk volume
- Peace gesture untuk fullscreen
- Open palm untuk stop
- Buka website apapun
- Start gesture control
- Swipe up/down untuk scroll
- Peace gesture untuk fullscreen
Edit src/js/actions/actionRegistry.js untuk custom actions:
export function onSwipeLeft(data) {
// Next track
simulateKeyPress('MediaTrackNext');
}
export function onSwipeRight(data) {
// Previous track
simulateKeyPress('MediaTrackPrevious');
}
export function onPushForward(data) {
// Play/Pause
simulateKeyPress('MediaPlayPause');
}export function onSwipeLeft(data) {
simulateKeyPress('a'); // Move left
}
export function onSwipeRight(data) {
simulateKeyPress('d'); // Move right
}
export function onPushForward(data) {
simulateKeyPress(' '); // Jump
}export function onOpenPalmGesture(data) {
simulateKeyPress('Alt+A'); // Mute/Unmute
}
export function onPeaceGesture(data) {
simulateKeyPress('Alt+V'); // Start/Stop video
}- Presenter bisa jalan-jalan tanpa remote
- Lebih engaging dengan audience
- Hands-free control
- Kontrol video dari sofa
- No need remote control
- Cool factor!
- Untuk orang dengan disabilitas
- Kontrol komputer tanpa keyboard/mouse
- Voice-free alternative
- Kontrol recipe video tanpa sentuh layar
- Tangan kotor? No problem!
- Next step dengan gesture
- Kontrol workout video
- No need to touch screen
- Hands-free fitness
- Browser games control
- Motion gaming
- VR-like experience
npm startBuka: http://localhost:8080
Test gestures:
- Buka YouTube video
- Klik "Start Camera"
- Try Push Forward → Video pause/play!
- Try Swipe Up → Volume naik!
- Try Peace → Fullscreen!
- Practice gestures sebelum presentasi
- Posisi kamera di depan, jangan samping
- Lighting yang baik
- Gesture dari jarak 50-100cm
- Gerakan yang jelas dan deliberate
- Wait for visual feedback
- Adjust thresholds untuk responsiveness
- Practice timing
- Use simple gestures
// Send HTTP request
export function onSwipeLeft(data) {
fetch('http://localhost:3000/next-slide', { method: 'POST' });
}
// Control IoT devices
export function onOpenPalmGesture(data) {
fetch('http://smart-home-hub/lights/off', { method: 'POST' });
}
// WebSocket communication
export function onPushForward(data) {
websocket.send(JSON.stringify({ action: 'play' }));
}- Good lighting = Better detection = Faster response
- Clear gestures = More accurate = Less false positives
- Practice = Muscle memory = Smoother control
- Check console (F12) untuk errors
- Pastikan gesture terdeteksi (lihat log)
- Adjust thresholds di config
- Some apps block keyboard simulation
- Try different approach (HTTP, WebSocket)
- Check app's API/shortcuts
- Lower camera resolution
- Close other apps
- Use web mode instead of Electron
Aplikasi ini BUKAN mainan! Ini adalah functional gesture control system yang bisa:
✅ Kontrol presentasi
✅ Kontrol media player
✅ Scroll halaman
✅ Toggle fullscreen
✅ Dan bisa di-customize untuk apapun!
Langsung coba sekarang: npm start 🚀
Butuh custom implementation? Edit src/js/actions/actionRegistry.js dan lihat DEVELOPER_GUIDE.md!