- Posts: 2
- Joined: Thu Oct 10, 2019 10:00 am
- Real Name: Jonathan Sjöström
I'm going to post some code down below. Just highlight and copy the code, then in the Node Editor area of Fusion paste the code, it should create several nodes. This should give you some help in what you are trying to accomplish. The repeating effect is created by using the Spline Editor.
- Code: Select all
{
Tools = ordered() {
Paint1 = Paint {
Inputs = {
Input = Input {
SourceOp = "Background1",
Source = "Output",
},
Paint = Input {
SourceOp = "PolylineStroke2",
Source = "Out",
},
},
ViewInfo = OperatorInfo { Pos = { 194.667, -22.3333 } },
},
PolylineStroke2 = PolylineStroke {
Points = {
},
IsThreaded = false,
Brushes = { "SoftBrush" },
ApplyModes = { "PaintApplyColor" },
CtrlWZoom = false,
Inputs = {
Paint = Input {
SourceOp = "PolylineStroke1",
Source = "Out",
},
BrushControls = Input { Value = 1, },
["SoftBrush.Softness"] = Input { Value = 0.237, },
["PaintApplyColor.Red"] = Input { Value = 0.866, },
["PaintApplyColor.Green"] = Input { Value = 0.234686, },
["PaintApplyColor.Blue"] = Input { Value = 0.234686, },
StrokeControls = Input { Value = 1, },
WriteOnStart = Input {
SourceOp = "PolylineStroke1Start1",
Source = "Value",
},
WriteOnEnd = Input {
SourceOp = "PolylineStroke1End1",
Source = "Value",
},
Polyline = Input {
Value = Polyline {
Points = {
{ Linear = true, X = 0.02504638209939, Y = -0.216171622276306, RX = 0.053803339547575, RY = -0.00220021831713886 },
{ Linear = true, X = 0.186456397175789, Y = -0.222772270441055, LX = -0.053803339547575, LY = 0.00220021831713886, RX = 0.000618430378633147, RY = -0.0660066029222885 },
{ Linear = true, X = 0.18831168115139, Y = -0.420792073011398, LX = -0.000618430378633147, LY = 0.0660066029222885, RX = 0.0599876338951221, RY = 0.00110011201093692 },
{ Linear = true, X = 0.368274582836756, Y = -0.417491736978588, LX = -0.0599876338951221, LY = -0.00110011201093692 }
}
},
},
},
},
PolylineStroke1 = PolylineStroke {
Points = {
},
IsThreaded = false,
Brushes = { "SoftBrush" },
ApplyModes = { "PaintApplyColor" },
CtrlWZoom = false,
NameSet = true,
Inputs = {
BrushControls = Input { Value = 1, },
["SoftBrush.Softness"] = Input { Value = 0.237, },
["PaintApplyColor.Red"] = Input { Value = 0.866, },
["PaintApplyColor.Green"] = Input { Value = 0.234686, },
["PaintApplyColor.Blue"] = Input { Value = 0.234686, },
StrokeControls = Input { Value = 1, },
WriteOnStart = Input {
SourceOp = "PolylineStroke1Start",
Source = "Value",
},
WriteOnEnd = Input {
SourceOp = "PolylineStroke1End",
Source = "Value",
},
Polyline = Input {
Value = Polyline {
Points = {
{ Linear = true, X = 0.0194805189967155, Y = 0.222772270441055, RX = 0.0556586272484665, RY = -0.00330032777078083 },
{ Linear = true, X = 0.186456397175789, Y = 0.21287128329277, LX = -0.0556586272484665, LY = 0.00330032777078083, RX = 0.000618430378633147, RY = -0.0803080295244328 },
{ Linear = true, X = 0.18831168115139, Y = -0.0280528049916029, LX = -0.000618430378633147, LY = 0.0803080295244328, RX = 0.0705009263812869, RY = -0.00220021990110444 },
{ Linear = true, X = 0.399814460295251, Y = -0.0346534646949162, LX = -0.0705009263812869, LY = 0.00220021990110444 }
}
},
},
},
},
PolylineStroke1Start = BezierSpline {
SplineColor = { Red = 232, Green = 6, Blue = 244 },
NameSet = true,
KeyFrames = {
[0] = { 0, RH = { 10.3333333333333, 0 }, Flags = { Loop = true } },
[31] = { 0.694, LH = { 20.6666666666667, 0.694 }, Flags = { Loop = true } }
}
},
PolylineStroke1End = BezierSpline {
SplineColor = { Red = 72, Green = 233, Blue = 54 },
NameSet = true,
KeyFrames = {
[0] = { 0.306, RH = { 10.3333333333333, 0.306 }, Flags = { Loop = true } },
[31] = { 1, LH = { 20.6666666666667, 1 }, Flags = { Loop = true } }
}
},
PolylineStroke1Start1 = BezierSpline {
SplineColor = { Red = 232, Green = 6, Blue = 244 },
NameSet = true,
KeyFrames = {
[0] = { 0, RH = { 10.3333333333333, 0 }, Flags = { Loop = true } },
[31] = { 0.694, LH = { 20.6666666666667, 0.694 }, Flags = { Loop = true } }
}
},
PolylineStroke1End1 = BezierSpline {
SplineColor = { Red = 72, Green = 233, Blue = 54 },
NameSet = true,
KeyFrames = {
[0] = { 0.306, RH = { 10.3333333333333, 0.306 }, Flags = { Loop = true } },
[31] = { 1, LH = { 20.6666666666667, 1 }, Flags = { Loop = true } }
}
},
Background1 = Background {
Inputs = {
GlobalOut = Input { Value = 948, },
Width = Input { Value = 1920, },
Height = Input { Value = 1080, },
UseFrameFormatSettings = Input { Value = 1, },
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
},
ViewInfo = OperatorInfo { Pos = { 83.3333, -22.3333 } },
},
SoftGlow1 = SoftGlow {
CtrlWZoom = false,
Inputs = {
Filter = Input { Value = FuID { "Fast Gaussian" }, },
Gain = Input { Value = 2.598, },
Input = Input {
SourceOp = "Paint1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 330, -19.303 } },
}
}
}