Construct 3 r137

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • en.wikipedia.org/wiki/Lissajous_curve I mention it for mostly for these. I don't suspect a lot of people to be making them, but it's good to have the option and I have a few in my game that I wouldn't mind switching to a behavior for. Not a huge deal if it can't be implemented, it's not too much trouble with events.

    • Aha spent the last couple of hours trying to remember the name for this, thanks for link. I've been looking at a prototype version and it's quite doable, but extends the API surface quite a bit. I don't think it's possible given the current behaviour to have both halves of the ratio above 1. So that limits the forms of the curve you can reproduce.

      Mathematically the lissajous curve is the combination of harmonics, so you could create singular harmonics and chain them using the pin command. Just been experimenting with 2 objects:

      - the first with a radius (100, 0) and a speed of 100

      - the second orbiting the first with a radius (0, 100) and a speed of 200.

      Then pasting the second object to a drawing canvas each frame. Gives a 2:1 lissajous curve. You can add more to the chain for more complicated iterations, and changing the speed ratio modifies the curve.