mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 14:03:59 +08:00
Add Checkmark and Exmark
This commit is contained in:
@ -28,6 +28,25 @@ from manimlib.utils.space_ops import rotate_vector
|
||||
from manimlib.utils.space_ops import center_of_mass
|
||||
|
||||
|
||||
class Checkmark(TextMobject):
|
||||
CONFIG = {
|
||||
"color": GREEN
|
||||
}
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__("\\ding{51}")
|
||||
|
||||
|
||||
class Exmark(TextMobject):
|
||||
CONFIG = {
|
||||
"color": RED
|
||||
}
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__("\\ding{55}")
|
||||
|
||||
|
||||
|
||||
class Lightbulb(SVGMobject):
|
||||
CONFIG = {
|
||||
"file_name": "lightbulb",
|
||||
|
Reference in New Issue
Block a user