Releases: jkjkil4/JAnim
Releases · jkjkil4/JAnim
JAnim v2.3.0
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
What's Changed
[BREAKING CHANGES]
audio_channels
now defaults to 2
New Features
- Implemented
point_to_coords
forCoordinateSystem
- Added
point_to_coords3d
,coords_array_to_points
,number_to_point
andpoint_to_number
toCoordinateSystem
- Added
get_parametric_curve
toAxes
Fixed Bugs and Enhancements
- Fixed parameters of
SourceTimeline.build
- Refactored
AnimViewer.on...triggered
JAnim v2.1.0
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
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 toabsolute=True
- Refactored
config.py
, replacingdataclasses
withattrs
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 ofSuccession
, useoffset
instead - Removed
Union.from_item
andIntersection.from_item
, usefrom_group
instead
New Features
- Added
glow
component toVItem
- Added
StepUpdater
for step-by-step simulations - Added label-indexing for
TypstDoc
- Added
PatternMismatchError
for handling pattern-indexing errors - Added
shear
method toCmpt_Points
- Added
is_smooth
andget_joint_products
methods toCmpt_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
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
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
forget_closepath_flags
- Optimizing
VItem.align_for_interpolate
for unchanged attributes
- Adding a pre-check to
JAnim v1.9.0
What's Changed
New Features
- Added
move_to_by_indicator
andnext_to_by_indicator
- Added
TypstDoc.match_pattern
- Added
Timeline.timeout(delay)
, equivalent toTimeline.schedule(self.current_time + delay)
- Added
Group.from_iterable
- Added
ImageItem.point_to_pixel
- Added
mismatch
parameter toTransformMatchingShapes
- Added
buff
parameter toCircleIndicate
- 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
forArray
as default - Optimized the performace of interpolation
Documentation
- Added
typ2.match_pattern(typ1, '+')
toTransformInSegmentsExample
JAnim v1.8.0
What's Changed
New Features
- Added
absolute
parameter forRotate
- Apply
fix_in_frame
automatically for indication - Added
resize_preserving_head_and_tail
- Added
point
parameter forSmallDot
- Added
Destruction
, similar toUncreate
, but with a different destruction-order - Added
FadeInFromPoint
andFadeOutToPoint
- Added
Cmpt_VPoints.identity
along withsame_shape
andsame_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 settingroot_only=True
- Fixed
PathBuilder
- Refactored
tip
,ticks
andnumbers
inNumberLine
- Fixed missing
return self
inCmpt_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
andTypst
JAnim v1.7.0
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
forVItem
, which allows control over the render order between stroke and fill. - Added
FadeTransform
- Added
camera
parameter forFrameRect
, enabling it to match a specific camera - Added
HighlightRect
- Added
rotation
parameter forArrowTip
Fixed Bugs and Enhancements
- Fixed dtype of
Cmpt_CameraPoints._size
- Fixed incorrect sizing of
Text
andSVGItem
when settingpixel_width
andpixel_height
to custom values - Added default values for
Cmpt_Image.set
- Fixed dtype of
np.asarray
insidefind_intersection
- Fixed
get_brace_right_index
- Fixed
AttributeError
caused byArcCenter
- Added
cli_config
to prevent the--config
CLI option from affectingdefault_config
- Added multi-channel audio support
- Fixed
AttributeError
when previewing the graph of rate-func, which occurred whenrate_func.__name__
is invalid - Fixed
Camera.rotate
by adding an additional parameterabsolute
- 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
What's Changed
New Features
- Added initial args of
color
andalpha
forImageItem
- 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 runningjanim tool color
or clicking theColor
button on the menu - Added
TransformInSegments
- Added
VideoFrame
- Added
**kwargs
forAnimViewer.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