Change shader_dtype -> data_dtype

This commit is contained in:
Grant Sanderson 2024-08-28 10:52:28 -05:00
parent 3c7204ccbd
commit 149739eaf4
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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,