This work is available as releases at my fork: https://github.com/earlye/friction I'm happy to create a PR back to upstream once it's stabilized, if y'all want it. If not, no harm no foul - I'll just keep this fork going.
This past weekend I implemented a capability to animate elements inside a linked svg. This changes friction so that svg docs can effectively be "reusable puppets" and friction can act as the puppeteer.
You can rig the svg itself in inkscape (or other svg software that supports <desc>) by injecting a tag containing yaml:
<g id="foo"><desc>
kind: animation-node
</desc></g>
These kind s of yaml doc exist:
kind: animation-node # the enclosing element should get an animation track to adjust translation and opacity.
---
kind: pivot # the enclosing element is the pivot point for its enclosing animation-node.
---
kind: flipbook # the enclosing element is a flipbook
map:
0: "other-element-id"
1: "another-element-id"
There is a new "camera" object that you can add, which is always enclosed in a flipbook. The active camera replaces the normal cropping region so that you can animate it and/or switch as a render progresses. This feature's a little buggy right now; I'm working through that. "C" switches from "look through the active camera" to "look at the world".
Oh, and I changed it so "insert key" is always 'k' regardless of platform so I can speak in hotkeys with my family despite having a "degenerate" macbook pro.
There's also a known bug on windows where playback appears to be dropping the cached frames. I can't reproduce on mac, so I've got a slow process to collect logs from a PR.
Thoughts?
This work is available as releases at my fork: https://github.com/earlye/friction I'm happy to create a PR back to upstream once it's stabilized, if y'all want it. If not, no harm no foul - I'll just keep this fork going.
This past weekend I implemented a capability to animate elements inside a linked svg. This changes friction so that svg docs can effectively be "reusable puppets" and friction can act as the puppeteer.
You can rig the svg itself in inkscape (or other svg software that supports
<desc>) by injecting a tag containing yaml:These
kinds of yaml doc exist:There is a new "camera" object that you can add, which is always enclosed in a flipbook. The active camera replaces the normal cropping region so that you can animate it and/or switch as a render progresses. This feature's a little buggy right now; I'm working through that. "C" switches from "look through the active camera" to "look at the world".
Oh, and I changed it so "insert key" is always 'k' regardless of platform so I can speak in hotkeys with my family despite having a "degenerate" macbook pro.
There's also a known bug on windows where playback appears to be dropping the cached frames. I can't reproduce on mac, so I've got a slow process to collect logs from a PR.
Thoughts?