manim-chess 0.0.34__py3-none-any.whl → 0.0.35__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
manim_chess/board.py CHANGED
@@ -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
  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
@@ -1,5 +1,5 @@
1
1
  manim_chess/__init__.py,sha256=SEtbIVW1Lnh-ZF4_mMYWpI-UFQLOdnGkOD7W0iqK0uc,242
2
- manim_chess/board.py,sha256=NM-wJmnI-9PrJM8vwHsN9AFjUn7C53AplYea8c1IzBM,20162
2
+ manim_chess/board.py,sha256=Ljq_9AS8GKejOuvtCHdXdN6hZ2BTMMAwCmpKJRLA67Y,20219
3
3
  manim_chess/evaluation_bar.py,sha256=ELjhyFPi5x_Q4Gw3U0FLVhQqN55k8rYCu-lpkru4nPo,3655
4
4
  manim_chess/game_player.py,sha256=fESDu5eksZK9ic47CwQNgeq1rpkcMKt0O7_X7-E5lp0,31102
5
5
  manim_chess/piece_svgs/bB.svg,sha256=d-nev6XLgFKglq_9SdXU2EIxPM1RlNWoXji4p4MYhb8,683
@@ -15,7 +15,7 @@ manim_chess/piece_svgs/wP.svg,sha256=BZa3zm9xUXgAtRA_SrA3DUeebWbmnBQR8nSQ0gdy6NY
15
15
  manim_chess/piece_svgs/wQ.svg,sha256=3SCkD3QlZH7SwQ435sYe8uP3Dx9zy_xxdSy5_DbdwzU,1102
16
16
  manim_chess/piece_svgs/wR.svg,sha256=6ela3ONk9djAPG3E2pqfhPVewWSyCRAtRvfm9Ycspcc,481
17
17
  manim_chess/pieces.py,sha256=890HggU4vGv_PgLyUPnJj2p3ZdivoqG5BukjqsS6MeU,7634
18
- manim_chess-0.0.34.dist-info/LICENSE.txt,sha256=B-V-3Tb7v93ub_E_3quknwdeUDtveYnceR0DcdAgolc,1067
19
- manim_chess-0.0.34.dist-info/METADATA,sha256=hkO7aRsP8lGG-n5Ubi1K04YK8OmcMdwn4ZMCJ1fGLPs,7154
20
- manim_chess-0.0.34.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
21
- manim_chess-0.0.34.dist-info/RECORD,,
18
+ manim_chess-0.0.35.dist-info/LICENSE.txt,sha256=B-V-3Tb7v93ub_E_3quknwdeUDtveYnceR0DcdAgolc,1067
19
+ manim_chess-0.0.35.dist-info/METADATA,sha256=0YyaH5DPxrg6CUMHXeJj0qGtKckaC5sq3j31cUaMaPY,7154
20
+ manim_chess-0.0.35.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
21
+ manim_chess-0.0.35.dist-info/RECORD,,