Hey there.
Often times in Motion Graphics one has to create some sort of 'Starry Badge' or 'Pointy Plaquette'.
This open Macro shows a few tricks on how to do that interactively.
Just copy and paste directly into a Fusion comp.
Cheers.
Eric.
Often times in Motion Graphics one has to create some sort of 'Starry Badge' or 'Pointy Plaquette'.
This open Macro shows a few tricks on how to do that interactively.
Just copy and paste directly into a Fusion comp.
- Code: Select all
{
Tools = ordered() {
StarryBadge = GroupOperator {
CtrlWZoom = false,
Inputs = ordered() {
Input1 = InstanceInput {
SourceOp = "MasterBG_1",
Source = "Width",
Name = "Resolution",
Default = 1024,
},
Input2 = InstanceInput {
SourceOp = "MasterBG_1",
Source = "TopLeftRed",
Name = "Background Color",
ControlGroup = 2,
Default = 0.7933333333333,
},
Input3 = InstanceInput {
SourceOp = "MasterBG_1",
Source = "TopLeftGreen",
ControlGroup = 2,
Default = 0.244489110019,
},
Input4 = InstanceInput {
SourceOp = "MasterBG_1",
Source = "TopLeftBlue",
ControlGroup = 2,
Default = 0.045837037037,
},
Input5 = InstanceInput {
SourceOp = "MasterBG_1",
Source = "TopLeftAlpha",
ControlGroup = 2,
Default = 1,
},
Input10 = InstanceInput {
SourceOp = "OuterBG_1",
Source = "TopLeftRed",
Name = "Edge Color",
ControlGroup = 7,
Default = 0.7931922962963,
},
Input11 = InstanceInput {
SourceOp = "OuterBG_1",
Source = "TopLeftGreen",
ControlGroup = 7,
Default = 0.7933333333333,
},
Input12 = InstanceInput {
SourceOp = "OuterBG_1",
Source = "TopLeftBlue",
ControlGroup = 7,
Default = 0.7933333333333,
},
Input13 = InstanceInput {
SourceOp = "OuterBG_1",
Source = "TopLeftAlpha",
ControlGroup = 7,
Default = 1,
},
Input6 = InstanceInput {
SourceOp = "MasterBG_1",
Source = "OutlineWidth",
Default = 0.1,
},
Input7 = InstanceInput {
SourceOp = "MasterBG_1",
Source = "NumberofTeeth",
Default = 50,
},
Input8 = InstanceInput {
SourceOp = "MasterBG_1",
Source = "TeethLength",
Default = 0.09,
},
Input9 = InstanceInput {
SourceOp = "MasterBG_1",
Source = "RadiusAdjust",
Default = 0,
},
},
Outputs = {
MainOutput1 = InstanceOutput {
SourceOp = "CoordinateSpace1_1",
Source = "Output",
},
},
ViewInfo = GroupInfo { Pos = { 0, 445.5, }, },
Tools = ordered() {
MasterBG_1 = Background {
CtrlWZoom = false,
CtrlWShown = false,
NameSet = true,
Inputs = {
Width = Input { Value = 1024, },
Height = Input {
Value = 1024,
Expression = "Width",
},
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
TopLeftRed = Input { Value = 0.7933333333333, },
TopLeftGreen = Input { Value = 0.244489110019, },
TopLeftBlue = Input { Value = 0.045837037037, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1, },
[1] = { 1, 1, 1, 1, },
},
},
},
},
ViewInfo = OperatorInfo { Pos = { -550, 10.15, }, },
UserControls = ordered() {
OutlineWidth = {
LINKID_DataType = "Number",
INPID_InputControl = "SliderControl",
INP_Default = 0.1,
LINKS_Name = "Outline Width",
},
NumberofTeeth = {
LINKID_DataType = "Number",
INP_Default = 50,
INP_Integer = true,
INPID_InputControl = "SliderControl",
LINKS_Name = "Number of Teeth",
},
TeethLength = {
LINKID_DataType = "Number",
INPID_InputControl = "SliderControl",
INP_Default = 0.09,
LINKS_Name = "Teeth Length",
},
RadiusAdjust = {
LINKID_DataType = "Number",
LINKS_Name = "Radius Adjust",
INP_MinScale = -0.5,
INPID_InputControl = "SliderControl",
INP_MaxScale = 0.5,
INP_Default = 0,
},
},
},
Rectangle2_1 = RectangleMask {
CtrlWShown = false,
Inputs = {
PaintMode = Input { Value = FuID { "Add", }, },
MaskWidth = Input { Value = 2048, },
MaskHeight = Input { Value = 1556, },
PixelAspect = Input { Value = { 1, 1, }, },
ClippingMode = Input { Value = FuID { "None", }, },
Center = Input { Value = { 0.5, 0, }, },
Width = Input { Value = 2.695652, },
Height = Input { Value = 1, },
},
ViewInfo = OperatorInfo { Pos = { -55, 76.15, }, },
},
BrightnessContrast2_2 = BrightnessContrast {
CtrlWShown = false,
Inputs = {
ApplyMaskInverted = Input { Value = 1, },
Alpha = Input { Value = 1, },
Gain = Input { Value = 0, },
Input = Input {
SourceOp = "MasterBG_1",
Source = "Output",
},
EffectMask = Input {
SourceOp = "Rectangle2_1",
Source = "Mask",
},
},
ViewInfo = OperatorInfo { Pos = { -55, 109.15, }, },
},
BrightnessContrast1_1 = BrightnessContrast {
CtrlWShown = false,
Inputs = {
ApplyMaskInverted = Input { Value = 1, },
Alpha = Input { Value = 1, },
Gain = Input { Value = 0, },
Input = Input {
SourceOp = "MasterBG_1",
Source = "Output",
},
EffectMask = Input {
SourceOp = "Rectangle1_1",
Source = "Mask",
},
},
ViewInfo = OperatorInfo { Pos = { -385, 142.15, }, },
},
Merge3_1 = Merge {
CtrlWShown = false,
Inputs = {
Background = Input {
SourceOp = "BrightnessContrast1_1",
Source = "Output",
},
Foreground = Input {
SourceOp = "OuterBG_1",
Source = "Output",
},
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { -220, 142.15, }, },
},
Merge2_1 = Merge {
CtrlWShown = false,
Inputs = {
Background = Input {
SourceOp = "Merge3_1",
Source = "Output",
},
Foreground = Input {
SourceOp = "BrightnessContrast2_2",
Source = "Output",
},
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { -55, 142.15, }, },
},
Transform1_1 = Transform {
CtrlWShown = false,
Inputs = {
UseSizeAndAspect = Input { Value = 0, },
Size = Input { Value = 0.2666667, },
XSize = Input {
Value = 0.0204081632653061,
Expression = "1/MasterBG_1.NumberofTeeth",
},
YSize = Input { Value = 1, },
Edges = Input { Value = 1, },
Input = Input {
SourceOp = "Merge2_1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 55, 142.15, }, },
},
Transform2_1 = Transform {
CtrlWShown = false,
Inputs = {
UseSizeAndAspect = Input { Value = 0, },
YSize = Input {
Value = 0.09,
Expression = "MasterBG_1.TeethLength",
},
Input = Input {
SourceOp = "Transform1_1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 165, 142.15, }, },
},
Rectangle1_1 = RectangleMask {
CtrlWShown = false,
Inputs = {
MaskWidth = Input { Value = 2048, },
MaskHeight = Input { Value = 1556, },
PixelAspect = Input { Value = { 1, 1, }, },
ClippingMode = Input { Value = FuID { "None", }, },
Width = Input { Value = 0.7071, },
Height = Input {
Value = 0.7071,
Expression = "Width",
},
Angle = Input { Value = 45, },
},
ViewInfo = OperatorInfo { Pos = { -550, 142.15, }, },
},
Merge1_1 = Merge {
CtrlWShown = false,
Inputs = {
Background = Input {
SourceOp = "Transform2_1",
Source = "Output",
},
Foreground = Input {
SourceOp = "BrightnessContrast2_1_1",
Source = "Output",
},
PerformDepthMerge = Input { Value = 0, },
},
ViewInfo = OperatorInfo { Pos = { 275, 142.15, }, },
},
Rectangle3_1 = RectangleMask {
CtrlWShown = false,
Inputs = {
MaskWidth = Input { Value = 2048, },
MaskHeight = Input { Value = 1556, },
PixelAspect = Input { Value = { 1, 1, }, },
ClippingMode = Input { Value = FuID { "None", }, },
Center = Input { Value = { 0.5, 0, }, },
Width = Input { Value = 1, },
Height = Input { Value = 1, },
},
ViewInfo = OperatorInfo { Pos = { 275, 43.15, }, },
},
BrightnessContrast2_1_1 = BrightnessContrast {
CtrlWShown = false,
Inputs = {
ApplyMaskInverted = Input { Value = 1, },
Alpha = Input { Value = 1, },
Gain = Input { Value = 0, },
Input = Input {
SourceOp = "MasterBG_1",
Source = "Output",
},
EffectMask = Input {
SourceOp = "Rectangle3_1",
Source = "Mask",
},
},
ViewInfo = OperatorInfo { Pos = { 275, 76.15, }, },
},
Transform3_1 = Transform {
CtrlWShown = false,
Inputs = {
Center = Input {
Value = { 0.5, 0.497971602434077, },
Expression = "Point(0.5,0.5+MasterBG_1.RadiusAdjust )",
},
Edges = Input { Value = 2, },
Input = Input {
SourceOp = "Merge1_1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 385, 142.15, }, },
},
Instance_Rectangle1_1 = RectangleMask {
CtrlWShown = false,
SourceOp = "Rectangle1_1",
Inputs = {
BorderWidth = Input {
Value = 0.1,
Expression = "MasterBG_1.OutlineWidth",
},
Solid = Input { Value = 0, },
Height = Input {
Value = 0.7071,
Expression = "Width",
},
StartEndRenderScripts = Input { },
EffectMask = Input { },
},
ViewInfo = OperatorInfo { Pos = { -550, 208.15, }, },
},
OuterBG_1 = Background {
CtrlWShown = false,
NameSet = true,
Inputs = {
Width = Input {
Value = 1024,
Expression = "MasterBG_1.Width",
},
Height = Input {
Value = 1024,
Expression = "MasterBG_1.Width",
},
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
TopLeftRed = Input { Value = 0.7931922962963, },
TopLeftGreen = Input { Value = 0.7933333333333, },
TopLeftBlue = Input { Value = 0.7933333333333, },
Gradient = Input {
Value = Gradient {
Colors = {
[0] = { 0, 0, 0, 1, },
[1] = { 1, 1, 1, 1, },
},
},
},
EffectMask = Input {
SourceOp = "Instance_Rectangle1_1",
Source = "Mask",
},
},
ViewInfo = OperatorInfo { Pos = { -385, 208.15, }, },
},
CoordinateSpace1_1 = CoordSpace {
CtrlWShown = false,
Inputs = {
Shape = Input { Value = 1, },
Input = Input {
SourceOp = "Transform3_1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 550, 142.15, }, },
},
},
},
},
ActiveTool = "StarryBadge",
}
Cheers.
Eric.
my hovercraft is full of eels.