roohani-dance

Map accelerometer and gyroscope data to vibration, flashlight, camera, and TTS feedback.

19|2|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/perminder-klair/ruuh --skill roohani-dance
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: roohani-dance
Source: https://github.com/perminder-klair/ruuh/tree/main/agent/.pi/skills/roohani-dance
Command: npx skills add https://github.com/perminder-klair/ruuh --skill roohani-dance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, termux-api, and includes scripts (resource) components.

What problem does it solve?

Transforms real-time accelerometer and gyroscope data into synchronized hardware feedback on a smartphone, enabling tactile and visual responses to movement.

Core Features & Use Cases

  • Motion-to-action mappings: shakes, tilts, spins, face-down interactions, and calm states to trigger vibrations, torch flashes, camera snapshots, and TTS quips.
  • Real-time feedback: immediate haptic, flash, and audio responses for interactive mobile experiences.
  • Use case: create motion-based games or expressive sensors-driven demos for dancing, play, or gesture-based controls on mobile devices.

Quick Start

Run the pre-built script with bash scripts/roohani-dance.sh

Frequently Asked Questions about roohani-dance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I map accelerometer and gyroscope data to hardware actions on a mobile device?▼

You can map accelerometer and gyroscope data to hardware actions by running a bash script that translates sensor inputs like shakes and tilts into vibrations, torch flashes, and camera snapshots. This enables real-time hardware feedback based on device movement.

Do I need Termux to use mobile device sensors for motion-based interactions?▼

Yes, Termux and the Termux API are required to access mobile device sensors for motion-based interactions. These dependencies provide the necessary bridge to query hardware like the accelerometer and camera from a shell environment.

Can I trigger text-to-speech and flashlight effects using device motion?▼

Yes, you can trigger text-to-speech and flashlight effects using device motion. The script maps specific movements such as spins and face-down states to responsive hardware feedback, including TTS audio quips and torch flashes.

What mobile gestures can be mapped to hardware feedback like vibration and camera capture?▼

Mobile gestures like shakes, tilts, spins, and face-down positions can be mapped to hardware feedback. These specific motion states trigger immediate responses such as vibration patterns, torch flashes, camera snapshots, and TTS quips.

How do I prevent sensor spam when triggering real-time hardware feedback?▼

To prevent sensor spam when triggering real-time hardware feedback, the script implements built-in cooldowns. These cooldowns manage the rate of hardware responses, ensuring vibrations and camera captures do not fire excessively during continuous movement.