Skip to content

0.4.11

Compare
Choose a tag to compare
@mottosso mottosso released this 23 Jan 06:58
· 125 commits to master since this release
ee73d07
  • Added .animate
  • Fixed #49, Using Multiple Versions Simultaneously

Animate

Here's what you can do, to more easily add animation to any plug.

node = createNode("transform")
node["tx"] = {1: 0.0, 5: 1.0, 10: 0.0}
node["rx"] = {1: 0.0, 5: 1.0, 10: 0.0}
node["sx"] = {1: 0.0, 5: 1.0, 10: 0.0}
node["v"] = {1: True, 5: False, 10: True}

# Alternatively
node["v"].animate({1: False, 5: True, 10: False})
  • See #50 for details