style_settings

Default colors and layout style.

SETTINGS.style holds the defaults a Scene picks up when you do not say otherwise: background (BLACK), frame for the letterbox area outside the rendered frame, text_color (WHITE), the layout buffer that move_next_to and the arrange_* methods leave between Mobs (0.6 world units), fade_out_on_scene_end, a default_material for 3-D Mobs that set no material of their own, shape_style_profile ("algan"), which selects whose per-shape styling defaults the built-in shapes adopt – Algan’s own, or Manim Community’s via SETTINGS.style.set(shape_style_profile="manim") – and border_placement ("inward"), which selects whether a filled shape’s stroke is laid inside its outline or straddles it as Manim’s does.

These are process-wide defaults, and each is overridable closer to the render: Scene.set_background(...) changes one Scene, and save_video(background=...) changes one render.

See Settings.

Classes