Skip to content

ecmanim 0.0.7

Choose a tag to compare

@johnhenry johnhenry released this 03 Jul 06:16

Fixed

  • FadeIn (and other single-mobject Animation subclasses) silently duck-typed an extra positional Mobject argument as config, corrupting the first mobject instead of raising an error. Fixes #7. The Animation base constructor now throws a TypeError when config is mobject-shaped; multiple mobjects must be wrapped in a Group.
  • Mobject.color was a dead field for rendering purposes — raw assignment never synced VMobject's strokeColor/fillColor, which the renderer actually reads. Fixes #5. color is now a getter/setter backed by _color, forwarding to setColor().
  • CLI render/plan crashed with TypeError: Class constructor ... cannot be invoked without 'new' for scene files that imported Scene through a different specifier than the CLI itself. Fixes #3 (also closed #4 as a duplicate). Replaced instanceof Scene checks with a duck-typed isSceneLike().

See CHANGELOG.md for full details.