HapticsShapeGenerator

  • Generates an array of integers which can be used to playback a haptic/audio shape on a microcontrollers DAC.
  • DAC needs to be set by timers matching the shapes sampling rate
  • Hold and drag to draw, use any key to print int array

Synthesized using 4Hz, 40Hz, 120Hz and 360Hz sine waves:

Drawn by hand: