Comment by shimman

1 day ago

Quite neat! Seems like a very fun library. This demo is very similar to what was posted as well:

https://cosmiciron.github.io/layoutmaster/dancing-text.html

Can see how this could make a few useful "splash" pages on projects I'm working on now. Just need to prep a video with a proper green screen.

---

Definitely have to attribute this to some of the better web APIs that have become standardize over the last 10 years.

While we aren't close to replicating the ease of flash, modern animation techniques have closed the gap considerably.

Also anything to move away from greensock is always a plus in my book.

Yes, it’s a late addition to that library. The dancing text demo uses the “weighted exclusion” feature of the VMPrint engine, which essentially creates an object composed of horizontal bars. However, the engine also offers another mode that constructs exclusion objects by combining primitive shapes like circles and polygons. This “stick” demo demonstrates that. In doing so, I added a small set of APIs to allow programmatic control over these primitive parts, which essentially turns this into a rudimentary rigging system. I’m uncertain about its practicality in real-world applications, but it was interesting to observe.

I’m glad that you’re trying the Layoutmaster library in your projects. You can also feed it video with a predominantly white background (or any other solid color). Additionally, the video can contain multiple objects, and the algorithm treats them uniformly.