Open App

Wave Generator

Use the Wave Generator in ScriptCompiler to create periodic sine, square, and sawtooth wave patterns for your funscripts.

Overview

Wave Generator tool

The Wave Generator creates periodic patterns based on mathematical wave functions. Use it to quickly generate consistent, rhythmic movements.

Wave Types

Type Shape Characteristics
Sine Smooth curve Natural, gradual acceleration/deceleration
Square Flat with instant transitions Sudden jumps between positions
Triangle Linear up and down Constant speed movements
Sawtooth Gradual rise, instant drop Asymmetric patterns

Parameters

Parameter Range Description
Wave Type Sine, Square, Triangle, Sawtooth Shape of the wave
Frequency 0.1 to 100 Number of cycles in the duration
Amplitude 0 to 50 Height of the wave (from center)
Offset 0 to 100 Center position of the wave
Duration 1 to 60 seconds Length of the generated pattern
Point Density 1 to 100 Points per second (resolution of the wave)
Frequency and Speed
Higher frequencies create faster patterns. Check the Script Overview to ensure the speed is within device limits.

Use Cases

Rhythmic Sections

Use waves to create sections that match musical beats or regular rhythms in video content.

Filler Patterns

Generate waves to fill gaps in your script where simple, consistent motion is appropriate.

Testing Devices

Wave patterns are useful for testing device response at different speeds and amplitudes.