Skip to content

Sharing the HTML slides #120

Answered by jeertmans
torannn asked this question in Q&A
Feb 1, 2023 · 1 comments · 13 replies
Discussion options

You must be logged in to vote

Hi @torannn, thanks for asking :-)

Maybe this should be better documented, but here is how you can share an HTML presentation:

  1. Let's say you created a presentation that uses BasicExample from example.py

    manim-slides/example.py

    Lines 19 to 32 in 35195f8

    class BasicExample(Slide):
    def construct(self):
    circle = Circle(radius=3, color=BLUE)
    dot = Dot()
    self.play(GrowFromCenter(circle))
    self.pause() # Waits user to press continue to go to the next slide
    self.start_loop() # Start loop
    self.play(MoveAlongPath(dot, circle), run_time=2, rate_func=linear)
    self.end_loop() # This will loop until user inputs a key
    self.play(dot.a…

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@torannn
Comment options

@jeertmans
Comment options

@jeertmans
Comment options

@torannn
Comment options

@jeertmans
Comment options

Answer selected by jeertmans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
html-convert Related to converting to HTML slides
2 participants