mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +08:00
Starting chapter 4
This commit is contained in:
@ -137,9 +137,9 @@ COLOR_MAP = {
|
||||
"GREEN_SCREEN": "#00FF00",
|
||||
}
|
||||
PALETTE = COLOR_MAP.values()
|
||||
globals().update(COLOR_MAP)
|
||||
locals().update(COLOR_MAP)
|
||||
for name in filter(lambda s : s.endswith("_C"), COLOR_MAP.keys()):
|
||||
globals()[name.replace("_C", "")] = globals()[name]
|
||||
locals()[name.replace("_C", "")] = locals()[name]
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user