FunctionGraph constructor
FunctionGraph({})
Implementation
FunctionGraph({
required this.function,
double stepSize = 0.01, // use a step size <= 0 for automatic step size
double xMin = -FRAME_X_RADIUS,
double xMax = FRAME_X_RADIUS,
double dt = 1e-8,
List<double> discontinuities = const [],
Color color = WHITE,
}) : super(
stepSize: stepSize,
tMin: xMin,
tMax: xMax,
dt: dt,
discontinuities: discontinuities,
color: color,
parametricFunction: (double t) => Vector3(t, function(t), 0));