Damped Oscillator

with accelerometer input

m=.5, b=.5, k=.5

Input force is proportional to the horizontal tilt of some handheld devices.