Skip to content

Multiple render() only generate one #4186

Open
@ecshoper

Description

@ecshoper

from manim import *

config.media_width = "1180px"
config.frame_rate = 60
config.pixel_height = 1920
config.pixel_width = 1080
config.frame_height = 32
config.frame_width = 18

class Test(Scene):
def construct(self):
text = Text(f'Test').scale(1.5)
self.add(text)

class Test1(Scene):
def construct(self):
text = Text(f'Test1').scale(1.5)
self.add(text)

if name == 'main':
Test().render()
Test1().render()

The above code only generated images rendered by Test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions