rust-club / manim-rs

Rust port of https://github.com/ManimCommunity/manim
MIT License
0 stars 0 forks source link

Draw a circle #1

Open ronofays opened 5 months ago

ronofays commented 5 months ago

This seems like a sensible early goal to me. It requires a little bit of geometry and a simple port of manim's renderer.

aanders commented 5 months ago

I think a good way to get started on this would be to look at the Python APIs and start to re-imagine what they might look like in Rust.

Here's the Manim Python code to animate creation of a circle: https://docs.manim.community/en/stable/tutorials/quickstart.html#animating-a-circle

There's a few nice diagrams of the overall hierarchy of classes here: https://docs.manim.community/en/stable/reference.html, which may be useful as we consider the Rust API design.

We might also want to take a look at https://docs.manim.community/en/stable/guides/deep_dive.html and decide whether we want to model the internal architecture after the design used in Python, or go in a different direction.