Smartphone Haptics

Exploring various ways to control smartphone haptic feedback using web technologies. This project makes haptics much more accessible by leveraging the Web Vibration API in conjunction with different sensor inputs.

Base Haptics

The foundational page demonstrating basic Web Vibration API usage through direct button interactions, custom patterns, and presets.

Gesture Haptics

Translates motion sensor (MPU) readings into haptic feedback, allowing users to "feel" their device's movement.

Microphone Haptics

Converts real-time microphone input levels into haptic feedback, making the device vibrate in response to sound.

Camera Haptics

Processes visual input from the smartphone camera to generate haptic feedback based on average brightness or motion detection.

Remote Haptics

Enables remote control of haptic feedback between devices using PeerJS (WebRTC), allowing a Host to trigger vibrations on multiple Clients.