Returns a function that shapes a 0..1 value as a square waveform. period sets the number of cycles in the 0..1 range. No bounds checks are performed on input value. Ensure it is 0..1 (inclusive).
period
Returns a function that shapes a 0..1 value as a square waveform.
period
sets the number of cycles in the 0..1 range. No bounds checks are performed on input value. Ensure it is 0..1 (inclusive).