Skip to contents

Renders a scene and creates a standalone HTML page with the animation embedded as a GIF. Useful for sharing without requiring R or video players.

Usage

export_html(
  scene,
  output_path = "animation.html",
  title = "manimR Animation",
  fps = 30,
  quality = "medium",
  background = "#000000"
)

Arguments

scene

A Scene object

output_path

Output HTML file path

title

Page title

fps

Animation FPS

quality

Render quality

background

Page background color

Value

Path to the HTML file (invisibly)