Skip to content

Commit

Permalink
wrapper doc, #144
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Aug 17, 2021
1 parent bda8bda commit 8d84d6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion game-setup-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@
// The array is ordered by increasing harmonic order, i.e. the fundamental is harmonics[0].
// amplitude is a value in the range [-1.5, 1.5] with at most 1 decimal place.
// controlVisible determines whether the Slider and NumberDisplay for the harmonic are visible,
// defaults to true for non-zero amplitudes, and setting to false for non-zero harmonics is an error.
// defaults to false for harmonics with amplitude === 0,
// defaults to true for harmonics with amplitude !== 0,
// and setting to false for harmonics with amplitude !== 0 is an error.
const harmonics = [
{ amplitude: 0.1 },
{ amplitude: 0, controlsVisible: true },
Expand Down

0 comments on commit 8d84d6f

Please sign in to comment.