use of com.helospark.tactview.core.timeline.effect.interpolation.provider.PointProvider in project tactview by helospark.
the class DrawnEllipseHighlightProceduralEffect method initializeValueProvider.
@Override
protected void initializeValueProvider() {
super.initializeValueProvider();
topLeftProvider = new PointProvider(doubleProviderWithDefaultValue(0.3), doubleProviderWithDefaultValue(0.4));
bottomRightProvider = new PointProvider(doubleProviderWithDefaultValue(0.7), doubleProviderWithDefaultValue(0.6));
colorProvider = ColorProvider.fromDefaultValue(0, 0, 0);
brushSizeProvider = new IntegerProvider(1, 200, new MultiKeyframeBasedDoubleInterpolator(70.0));
endPositionProvider = new DoubleProvider(new MultiKeyframeBasedDoubleInterpolator(2.0));
brushFileProvider = new FileProvider("*.gbr", new StepStringInterpolator());
}
use of com.helospark.tactview.core.timeline.effect.interpolation.provider.PointProvider in project tactview by helospark.
the class ParticleSystemProceduralClip method initializeValueProvider.
@Override
protected void initializeValueProvider() {
super.initializeValueProvider();
startColorProvider = ColorProvider.fromDefaultValue(1.0, 0.0, 0.0);
endColorProvider = ColorProvider.fromDefaultValue(0.0, 0.0, 0.0);
fuzzyProvider = new DoubleProvider(0.0, 1.0, new MultiKeyframeBasedDoubleInterpolator(0.4));
startDirectionProvider = new PointProvider(new DoubleProvider(new MultiKeyframeBasedDoubleInterpolator(0.0)), new DoubleProvider(new MultiKeyframeBasedDoubleInterpolator(0.0)));
startDirectionXRandomSpeedProvider = new DoubleProvider(0, 2, new MultiKeyframeBasedDoubleInterpolator(0.01));
startDirectionYRandomSpeedProvider = new DoubleProvider(0, 2, new MultiKeyframeBasedDoubleInterpolator(0.01));
numberOfParticlesCreatedInStep = new DoubleProvider(0.0, 100.0, new MultiKeyframeBasedDoubleInterpolator(6.0));
gravityProvider = new DoubleProvider(-2.0, 2.0, new MultiKeyframeBasedDoubleInterpolator(0.001));
emitterCenterProvider = PointProvider.ofNormalizedImagePosition(0.5, 0.5);
ageRangeProvider = DoubleRangeProvider.createDefaultDoubleRangeProvider(0.0, 30.0, 0.5, 3.0);
sizeProvider = new IntegerProvider(0, 200, new MultiKeyframeBasedDoubleInterpolator(60.0));
emitterRandomizationProvider = new DoubleProvider(0.0, 1.0, new MultiKeyframeBasedDoubleInterpolator(0.01));
}
use of com.helospark.tactview.core.timeline.effect.interpolation.provider.PointProvider in project tactview by helospark.
the class LinearGradientProceduralClip method initializeValueProvider.
@Override
protected void initializeValueProvider() {
super.initializeValueProvider();
startColorProvider = createColorProvider(0.0, 0.0, 0.0);
endColorProvider = createColorProvider(1.0, 1.0, 1.0);
PointProvider topLeftPointProvider = new PointProvider(doubleProviderWithDefaultValue(0.0), doubleProviderWithDefaultValue(0.0));
PointProvider bottomRightPointProvider = new PointProvider(doubleProviderWithDefaultValue(1.0), doubleProviderWithDefaultValue(0.0));
lineProvider = new LineProvider(topLeftPointProvider, bottomRightPointProvider);
}
use of com.helospark.tactview.core.timeline.effect.interpolation.provider.PointProvider in project tactview by helospark.
the class RadialGradientProceduralEffect method initializeValueProvider.
@Override
protected void initializeValueProvider() {
super.initializeValueProvider();
startColorProvider = createColorProvider(0.0, 0.0, 0.0);
endColorProvider = createColorProvider(1.0, 1.0, 1.0);
innerSaturationDiameterProvider = new DoubleProvider(new MultiKeyframeBasedDoubleInterpolator(0.0));
PointProvider topLeftPointProvider = new PointProvider(doubleProviderWithDefaultValue(0.3), doubleProviderWithDefaultValue(0.3));
PointProvider bottomRightPointProvider = new PointProvider(doubleProviderWithDefaultValue(0.6), doubleProviderWithDefaultValue(0.6));
lineProvider = new LineProvider(topLeftPointProvider, bottomRightPointProvider);
}
use of com.helospark.tactview.core.timeline.effect.interpolation.provider.PointProvider in project tactview by helospark.
the class OrthogonalTransformationEffect method initializeValueProviderInternal.
@Override
protected void initializeValueProviderInternal() {
translateScaleProvider = new LineProvider(new PointProvider(createDoubleProvider(0.0), createDoubleProvider(0.0)), new PointProvider(createDoubleProvider(0.5), createDoubleProvider(0.5)));
rotationCenterProvider = new PointProvider(createDoubleProvider(0.5), createDoubleProvider(0.5));
scaleCenterProvider = new PointProvider(createDoubleProvider(0.5), createDoubleProvider(0.5));
rotateProvider = new DoubleProvider(-10000, 10000, new MultiKeyframeBasedDoubleInterpolator(0.0));
fitToRectangleScaleAndTranslate = new BooleanProvider(new MultiKeyframeBasedDoubleInterpolator(0.0));
translatePointProvider = PointProvider.ofNormalizedImagePosition(0.0, 0.0);
scaleXProvider = new DoubleProvider(-3.0, 3.0, new MultiKeyframeBasedDoubleInterpolator(1.0));
scaleYProvider = new DoubleProvider(-3.0, 3.0, new MultiKeyframeBasedDoubleInterpolator(1.0));
}
Aggregations