mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Add GlowDots, analogous to GlowDot
This commit is contained in:
parent
66819f5dbc
commit
e19f35585d
1 changed files with 5 additions and 1 deletions
|
@ -129,9 +129,13 @@ class TrueDot(DotCloud):
|
||||||
super().__init__(points=[center], **kwargs)
|
super().__init__(points=[center], **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class GlowDot(TrueDot):
|
class GlowDots(DotCloud):
|
||||||
CONFIG = {
|
CONFIG = {
|
||||||
"glow_factor": 2,
|
"glow_factor": 2,
|
||||||
"radius": DEFAULT_GLOW_DOT_RADIUS,
|
"radius": DEFAULT_GLOW_DOT_RADIUS,
|
||||||
"color": YELLOW,
|
"color": YELLOW,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
class GlowDot(GlowDots, TrueDot):
|
||||||
|
pass
|
||||||
|
|
Loading…
Add table
Reference in a new issue