Skip to content

Introducing LavaBeats - #428

Open
JuanSMartinez wants to merge 6 commits into
android:mainfrom
JuanSMartinez:lavabeats
Open

Introducing LavaBeats#428
JuanSMartinez wants to merge 6 commits into
android:mainfrom
JuanSMartinez:lavabeats

Conversation

@JuanSMartinez

Copy link
Copy Markdown

LavaBeats is an educational self-contained app that demonstrates the design of a complex haptic signal using advanced haptic PWLE APIs. By mapping bio-markers of a typical EKG signal into amplitude and frequency segments, the app is able to compose a vibration that beats and resembles the pulses of a beating heart. To accompany the haptic effect, the app has a "lava lamp" visualization that beats at the same rhythm as the haptic effect.

Users can modify the settings of the effect by changing amplitudes, frequencies, delays, number of beats and beats-per-minute to emulate different beating patterns and sensations.

This app will also have a section in the Android haptics public documentation, which will detail the design process and the mapping between biomarkers and haptic signal parameters.

Juan Sebastian Martinez added 6 commits July 30, 2026 11:37
This is a utility to construct the LavaBeats haptic effect from pulse
parameters that represent the QRS and T wave biomarker in an EKG
This encapsulates the business logic of playin the haptics beat effect
as well as handling the graphical visualization triggers and logic
This is the runtime fragment shader that renders the graphical
representation of a lava lamp, which beats at the same rythm of the
haptic beat effect
This is the display of the runtime shader
These control the haptic effect parameters, which are also used to
control the fragment shader visualization timings and beating
This finally adds the LavaBeatsScreen and introduces the demo into the
samples app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant