1. A computer-readable medium having instructions stored thereon that, when executed by a processor, cause the processor to execute a method for generating a haptic effect, the method comprising: receiving a parameter; generating a plurality of waveforms based on the parameter; combining each waveform with an envelope to generate a first grain and a second grain; combining the first grain and the second grain to generate a cloud, wherein the cloud comprises a representation of the first grain and the second grain; and generating the haptic effect based on the cloud.