manim-chess 0.0.34__tar.gz → 0.0.35__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (21) hide show
  1. {manim_chess-0.0.34 → manim_chess-0.0.35}/PKG-INFO +1 -1
  2. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/board.py +6 -4
  3. {manim_chess-0.0.34 → manim_chess-0.0.35}/pyproject.toml +1 -1
  4. {manim_chess-0.0.34 → manim_chess-0.0.35}/LICENSE.txt +0 -0
  5. {manim_chess-0.0.34 → manim_chess-0.0.35}/README.md +0 -0
  6. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/__init__.py +0 -0
  7. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/evaluation_bar.py +0 -0
  8. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/game_player.py +0 -0
  9. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/piece_svgs/bB.svg +0 -0
  10. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/piece_svgs/bK.svg +0 -0
  11. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/piece_svgs/bN.svg +0 -0
  12. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/piece_svgs/bP.svg +0 -0
  13. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/piece_svgs/bQ.svg +0 -0
  14. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/piece_svgs/bR.svg +0 -0
  15. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/piece_svgs/wB.svg +0 -0
  16. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/piece_svgs/wK.svg +0 -0
  17. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/piece_svgs/wN.svg +0 -0
  18. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/piece_svgs/wP.svg +0 -0
  19. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/piece_svgs/wQ.svg +0 -0
  20. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/piece_svgs/wR.svg +0 -0
  21. {manim_chess-0.0.34 → manim_chess-0.0.35}/manim_chess/pieces.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: manim-chess
3
- Version: 0.0.34
3
+ Version: 0.0.35
4
4
  Summary: A plugin for animating chessboards. Includes additional features such as PGN conversion, arrows, etc.
5
5
  Author: swoyer2
6
6
  Author-email: swoyer.logan@gmail.com
@@ -24,7 +24,11 @@ class Board(Mobject):
24
24
  color_dark : ManimColor
25
25
  The manim color of the dark squares
26
26
  color_light : ManimColor
27
- The manim color of the light squares
27
+ The manim color of the light squares
28
+ color_highlight_light : ManimColor
29
+ The manim color of the highlight on dark squares
30
+ color_highlight_dark : ManimColor
31
+ The manim color of the highlight on light squares
28
32
 
29
33
  Methods:
30
34
  -------
@@ -424,9 +428,7 @@ class Board(Mobject):
424
428
  self.add(finished_arrow)
425
429
  else:
426
430
  arrow0 = Line(stroke_width=15, stroke_opacity=.8, fill_color=ARROW_COLOR, stroke_color=ARROW_COLOR)
427
- arrow0.reset_endpoints_based_on_tip = lambda *args: None
428
431
  arrow1 = Line(stroke_width=15, stroke_opacity=.8, fill_color=ARROW_COLOR, stroke_color=ARROW_COLOR)
429
- arrow1.reset_endpoints_based_on_tip = lambda *args: None
430
432
 
431
433
  if dir_y > 0:
432
434
  buffer_y = np.array([0, 0.25, 0])
@@ -447,7 +449,7 @@ class Board(Mobject):
447
449
  tip.move_to(tip_position + buffer_x)
448
450
  else:
449
451
  arrow0.set_points_as_corners([end_position - buffer_x, np.array([tip_position[0], end_position[1], 0])])
450
- arrow1.set_points_as_corners([np.array([tip_position[0]-tip_buffer, end_position[1], 0]), tip_position + buffer_y])
452
+ arrow1.set_points_as_corners([np.array([tip_position[0], end_position[1]+tip_buffer, 0]), tip_position + buffer_y])
451
453
  tip = arrow1.create_tip()
452
454
  tip.move_to(tip_position + buffer_y)
453
455
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "manim-chess"
3
- version = "0.0.34"
3
+ version = "0.0.35"
4
4
  description = "A plugin for animating chessboards. Includes additional features such as PGN conversion, arrows, etc."
5
5
  authors = [
6
6
  {name = "swoyer2",email = "swoyer.logan@gmail.com"}
File without changes
File without changes