APPLET: RESPONSE TO RAMP INPUT