Jump to: Board index » General » Fusion

How do you make a specific kind of sweeping circle animation

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

tristanbay

  • Posts: 45
  • Joined: Wed Oct 03, 2018 2:35 am
  • Real Name: Tristan Young

How do you make a specific kind of sweeping circle animation

PostSat Oct 20, 2018 5:45 am

I saw
tutorial on circle animations but none of his animations had rounded tips.

Is there a way I can easily make animations with rounded ends? Would importing an SVG into Fusion and then making into a paint stroke work?

example picture:
rounded_tips.PNG
rounded_tips.PNG (34.89 KiB) Viewed 1112 times


Thanks!
Resolve 17 | Fusion 9 | Win 10 (1809) | why my computer wants to ctrl+z itself when it's running resolve: MSI GL62M laptop, i5-7300HQ CPU @ 2.5GHz, GeForce GTX 1050 2GB, 8GB RAM
Offline

Frank Feijen

  • Posts: 167
  • Joined: Tue Dec 13, 2016 10:04 am
  • Location: Vilvoorde, Belgium

Re: How do you make a specific kind of sweeping circle anima

PostSat Oct 20, 2018 11:55 am

Using a paint node, gives you rounded ends and the option for sweeping:
Code: Select all
{
   Tools = ordered() {
      Paint1 = Paint {
         CtrlWZoom = false,
         Inputs = {
            Input = Input {
               SourceOp = "Background1",
               Source = "Output",
            },
            Paint = Input {
               SourceOp = "PolylineStroke1",
               Source = "Out",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 660, 247.5 } },
      },
      PolylineStroke1 = PolylineStroke {
         Points = {
         },
         IsThreaded = false,
         Brushes = {
            "SoftBrush",
            "CircleBrush"
         },
         ApplyModes = { "PaintApplyColor" },
         Inputs = {
            BrushControls = Input { Value = 1, },
            BrushShape = Input { Value = FuID { "CircleBrush" }, },
            StrokeControls = Input { Value = 1, },
            WriteOnEnd = Input { Value = 0.667, },
            Polyline = Input {
               Value = Polyline {
                  Closed = true,
                  Points = {
                     { X = -0.248958333333333, Y = 5.44287466287713e-017, LX = 1.69088437774544e-017, LY = 0.245459888813686, RX = -1.69088437774544e-017, RY = -0.245459888813686 },
                     { X = 0.00104166666666667, Y = -0.444444444444444, LX = -0.138071187457698, LY = 4.50902500732119e-017, RX = 0.138071187457698, RY = -4.50902500732119e-017 },
                     { X = 0.251041666666667, Y = -1.08857493257543e-016, LX = -3.38176875549089e-017, LY = -0.245459888813686, RX = 3.38176875549089e-017, RY = 0.245459888813686 },
                     { X = 0.0010416666666668, Y = 0.444444444444444, LX = 0.138071187457698, LY = -7.51504167886864e-017, RX = -0.138071187457698, RY = 7.51504167886864e-017 }
                  }
               },
            },
            ["CircleBrush.Size"] = Input { Value = 0.0089, },
         },
      },
      Background1 = Background {
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
         },
         ViewInfo = OperatorInfo { Pos = { 550, 247.5 } },
      }
   }
}
Offline

tristanbay

  • Posts: 45
  • Joined: Wed Oct 03, 2018 2:35 am
  • Real Name: Tristan Young

Re: How do you make a specific kind of sweeping circle anima

PostSat Oct 20, 2018 4:24 pm

Frank Feijen wrote:Using a paint node, gives you rounded ends and the option for sweeping


How do I paste in the code?
Offline

Frank Feijen

  • Posts: 167
  • Joined: Tue Dec 13, 2016 10:04 am
  • Location: Vilvoorde, Belgium

Re: How do you make a specific kind of sweeping circle anima

PostMon Oct 22, 2018 7:00 am

select all code, copy. paste into the flow-window
Offline

tristanbay

  • Posts: 45
  • Joined: Wed Oct 03, 2018 2:35 am
  • Real Name: Tristan Young

Re: How do you make a specific kind of sweeping circle anima

PostTue Oct 23, 2018 4:28 am

Frank Feijen wrote:select all code, copy. paste into the flow-window


already figure it out, thanks for the help!

Return to Fusion

Who is online

Users browsing this forum: No registered users and 26 guests