mirror of
https://github.com/3b1b/videos.git
synced 2025-08-31 21:58:59 +00:00
Change shader_dtype -> data_dtype
This commit is contained in:
parent
3c7204ccbd
commit
149739eaf4
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ def get_iteration_label(font_size=36):
|
|||
class MandelbrotFractal(NewtonFractal):
|
||||
CONFIG = {
|
||||
"shader_folder": "mandelbrot_fractal",
|
||||
"shader_dtype": [
|
||||
"data_dtype": [
|
||||
('point', np.float32, (3,)),
|
||||
],
|
||||
"scale_factor": 1.0,
|
||||
|
|
|
@ -72,7 +72,7 @@ def get_figure(image_name, person_name, year_text, height=3, label_direction=DOW
|
|||
class NewtonFractal(Mobject):
|
||||
CONFIG = {
|
||||
"shader_folder": "newton_fractal",
|
||||
"shader_dtype": [
|
||||
"data_dtype": [
|
||||
('point', np.float32, (3,)),
|
||||
],
|
||||
"colors": ROOT_COLORS_DEEP,
|
||||
|
|
Loading…
Add table
Reference in a new issue