Skip to content

Releases: jkjkil4/JAnim

JAnim v2.3.0

23 Jan 09:06
Compare
Choose a tag to compare

What's Changed

New Features

  • Added frame-skip functionality, accessible via Ctrl+P or through the "Functions" menu
  • Added more rate-functions

Fixed Bugs and Enhancements

  • Reduced stutter after long audio playback inactivity
  • Explicitly set LocalHost to avoid triggering the OS network warning
  • Disabled auto-repeat for menu actions
  • Optimized play_timer behavior
  • Fixed a transparent window issue in specific environments (#11)
  • Corrected the OpenGL version used when writing video file

Documentation

  • Enhanced the documentation for rate-functions

JAnim v2.2.0

12 Dec 15:36
Compare
Choose a tag to compare

What's Changed

[BREAKING CHANGES]

  • audio_channels now defaults to 2

New Features

  • Implemented point_to_coords for CoordinateSystem
  • Added point_to_coords3d, coords_array_to_points, number_to_point and point_to_number to CoordinateSystem
  • Added get_parametric_curve to Axes

Fixed Bugs and Enhancements

  • Fixed parameters of SourceTimeline.build
  • Refactored AnimViewer.on...triggered

JAnim v2.1.0

29 Nov 15:21
Compare
Choose a tag to compare

What's Changed

New Features

  • Added support for macOS by implementing a compatibility solution for systems that do not support OpenGL 4.3 features

Fixed Bugs and Enhancements

  • Fixed an issue where shader uniforms were not being set

JAnim v2.0.0

28 Nov 14:57
Compare
Choose a tag to compare

What's Changed

[BREAKING CHANGES]

  • Prioritized cli_config as the highest priority, meaning --config parameters in the CLI will override all other configurations
  • Video and audio are merged by default, whereas previously, they were generated as separate files
  • Cmpt_Depth.set now applies to all of its descendants by default (previously, you need to use .arrange to achieve this)
  • Cmpt_CameraPoints.rotate now defaults to absolute=True
  • Refactored config.py, replacing dataclasses with attrs for data validation
  • Refactored signal.py

Deprecation

  • Renamed Item.set_style -> Item.apply_style, this is used to apply style only to the item itself;
    the previous name will be removed in JAnim 2.3
  • Renamed Item.digest_styles -> Item.set, this is used to apply style to all descendants;
    the previous name will be removed in JAnim 2.3
  • Removed buff parameter of Succession, use offset instead
  • Removed Union.from_item and Intersection.from_item, use from_group instead

New Features

  • Added glow component to VItem
  • Added StepUpdater for step-by-step simulations
  • Added label-indexing for TypstDoc
  • Added PatternMismatchError for handling pattern-indexing errors
  • Added shear method to Cmpt_Points
  • Added is_smooth and get_joint_products methods to Cmpt_VPoints
  • Added GIF export
  • Added --hide_subtitles option
  • Added --srt option for exporting subtitles to .srt file
  • Added configuration window for GUI-based exporting

Fixed Bugs and Enhancements

  • Optimized the performance of Item._init_components
  • The main window is now hidden during the exporting process

Documentation

  • Enhanced documentation for GUI usage, added i18n
  • Improved the CLI message for janim write -h

JAnim v1.9.2

04 Nov 01:47
Compare
Choose a tag to compare

What's Changed

Fixed Bugs and Enhancements

  • Be compatible with Typst 0.12.0
  • Optimized the global-range check for animations
  • Make client_search_port configurable

JAnim v1.9.1

19 Oct 06:59
Compare
Choose a tag to compare

What's Changed

Enhancements

  • Optimized the behavior of the completer
  • Improved the behavior of dragging near the left or right corners of the TimelineView
  • Enhanced performance by:
    • Adding a pre-check to Cmpt_XXX.become
    • Adding a pre-check to resize_with_interpolation for 1-element arrays
    • Optimizing Cmpt_VPoints.interpolate for get_closepath_flags
    • Optimizing VItem.align_for_interpolate for unchanged attributes

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