Skip to content

Releases: jkjkil4/JAnim

JAnim v1.9.0

09 Oct 07:07
Compare
Choose a tag to compare

What's Changed

New Features

  • Added move_to_by_indicator and next_to_by_indicator
  • Added TypstDoc.match_pattern
  • Added Timeline.timeout(delay), equivalent to Timeline.schedule(self.current_time + delay)
  • Added Group.from_iterable
  • Added ImageItem.point_to_pixel
  • Added mismatch parameter to TransformMatchingShapes
  • Added buff parameter to CircleIndicate
  • Improved FadeTransform by adding extra parameters
  • Added warning for non-linear composition with misaligned sub-animations

Fixed Bugs and Enhancements

  • Fixed the issue of lacking consideration for multi-channel configurations when creating placeholder silent audio.
  • Fixed self.camera not being tracked
  • Fixed Audio.mul
  • Fixed positioning error of current lineno, when using template-timeline
  • Fixed incorrect y-axis numbers position for Axes
  • Fixed glcontext error of global_renderer
  • Fixed the recursive call in Cmpt_VPoints_LineImpl.put_start_and_end_on
  • Use dtype=np.float32 for Array as default
  • Optimized the performace of interpolation

Documentation

  • Added typ2.match_pattern(typ1, '+') to TransformInSegmentsExample

JAnim v1.8.0

05 Sep 02:42
Compare
Choose a tag to compare

What's Changed

New Features

Added absolute parameter for Rotate
Apply fix_in_frame automatically for indication
Added resize_preserving_head_and_tail
Added point parameter for SmallDot
Added Destruction, similar to Uncreate, but with a different destruction-order
Added FadeInFromPoint and FadeOutToPoint
Added Cmpt_VPoints.identity along with same_shape and same_direction, for comparing shapes
Added list indexing and boolean indexing for Item.__getitem__
Added pattern-matching(string indexing) for TypstDoc.__getitem__, borrowed from Roseleaves/Manim-Jr
Added TransformMatchingShapes
Added @mockable

New Features in GUI

Added mnemonic key for menu
Added "Draw" function
Enabled text in the "Selector" overlay to automatically move away from the mouse cursor

Fixed Bugs and Enhancements

Fixed Cmpt_CameraPoints.not_changed, which is caused by floating-point error
Fixed the behavior of alignment for the minus sign in NumberLine.get_number_item
Fixed Write when setting root_only=True
Fixed PathBuilder
Refactored tip, ticks and numbers in NumberLine
Fixed missing return self in Cmpt_Depth.arrange
Replaced stdin of Typst with sp.PIPE
Fixed Audio.mul for multi-channel audios
Optimized VItemRenderer rendering efficiency

Fixed Bugs and Enhancements in GUI

Fixed incorrect selection region when item is fixed in frame

Documentation

Improved the documentation of Item and Typst

JAnim v1.7.0

17 Aug 04:18
Compare
Choose a tag to compare

What's Changed

New Features

  • Added Audio.set_samples
  • Added Video, allowing direct video file playback and control of playback progress.
  • Added ShowIncreasingSubsets & ShowSubitemsOneByOne
  • Added cache for VideoFrame
  • Added stroke_background for VItem, which allows control over the render order between stroke and fill.
  • Added FadeTransform
  • Added camera parameter for FrameRect, enabling it to match a specific camera
  • Added HighlightRect
  • Added rotation parameter for ArrowTip

Fixed Bugs and Enhancements

  • Fixed dtype of Cmpt_CameraPoints._size
  • Fixed incorrect sizing of Text and SVGItem when setting pixel_width and pixel_height to custom values
  • Added default values for Cmpt_Image.set
  • Fixed dtype of np.asarray inside find_intersection
  • Fixed get_brace_right_index
  • Fixed AttributeError caused by ArcCenter
  • Added cli_config to prevent the --config CLI option from affecting default_config
  • Added multi-channel audio support
  • Fixed AttributeError when previewing the graph of rate-func, which occurred when rate_func.__name__ is invalid
  • Fixed Camera.rotate by adding an additional parameter absolute
  • Fixed the issue of audio chart exceeding expected width when there are too many recommended-ranges

Documentation

  • Moved the documentation of TransformInSegments from docstring to .rst file
  • Removed logger & typing documentation

JAnim v1.6.0

01 Aug 06:22
Compare
Choose a tag to compare

What's Changed

New Features

  • Added initial args of color and alpha for ImageItem
  • Added Arrow.create_text, can create text on the body of the arrow with the correct direction
  • Added completer for available timelines, which could be displayed when you edit the name of the current timeline
  • Added color tool, you can use it by running janim tool color or clicking the Color button on the menu
  • Added TransformInSegments
  • Added VideoFrame
  • Added **kwargs for AnimViewer.views

Fixed Bugs and Enhancements

  • Addressed memory leak issue and mostly solved
  • Fixed an error in SVGItem when parsing the hex color with alpha channel
  • Optimized the initialization of components

Documentation

  • Updated Config documentation
  • Added constants documentation
  • Updated README.md
  • Added README_zh_CN.md

JAnim v1.5.1

17 Jul 10:08
Compare
Choose a tag to compare

What's Changed

Fixed Bugs and Enhancements

  • Fixed incorrect args of Arrow.copy and DoubleArrow.copy
  • Improved subtitle placement behaviour
  • Fixed typing for Arrow.__init__
  • Added TimeRange object as the return value of self.play
  • Fixed "OSError: Unanticipated host error", which occurred when a sound device was disconnected

Documentation

  • Updated internationalization (i18n)
  • Imporved CSS style for dark theme

JAnim v1.5.0

03 Jul 10:25
Compare
Choose a tag to compare

What's Changed

New Features

  • Refactored AnimGroup and Succession; added lag_ratio and offset parameters to AnimGroup

Fixed Bugs and Enhancements

  • Fixed the issue of descendant items not being tracked

Documentation

  • Added i18n for get_started.rst
  • Added interactive examples to composition.rst

JAnim v1.4.3

01 Jul 08:50
Compare
Choose a tag to compare

What's Changed

Fixed Bugs and Enhancements

  • Track the item passing to CircleIndicate, Flash, and AnimationOnSurroundingRect

JAnim v1.4.2

01 Jul 07:44
Compare
Choose a tag to compare

What's Changed

Fixed Bugs and Enhancements

  • Provide a hint when no name is specified for janim tool
  • Fixed missing history for item slice

JAnim v1.4.1

28 Jun 04:15
Compare
Choose a tag to compare

What's Changed

Fixed Bugs and Enhancements

  • Fixed missing return self in set_as_corners
  • Fixed incorrect stroke-radius when the item is fixed in frame
  • Fixed incorrect time-range of render calls

JAnim v1.4.0

23 Jun 07:35
Compare
Choose a tag to compare

What's changed

New Features

  • Added GroupUpdater, which can modify items in groups, instead of seperately like DataUpdater
  • Added Follow, an encapsulation of GroupUpdater and next_to

Fixed Bugs and Enhancements

  • Fixed incorrect window position when previewing multiple timelines simultaneously
  • Improved the performance of DataUpdater.wrap_dynamic

Documentation

  • Fixed example code of FadeIn in #7
  • Internationalization (i18n) for some pages