Skip to content

Consider supporting application/vnd.manim-widget.v2+json mimebundle #10216

Description

@rambip

Description

I recently created https://github.com/rambip/manim-widget

Image

One constraint I set myself early on was that every scene should be represented using 100% json data.

That means that I can do exactly like Vega, and interpret a json specification in any context I want.

The json may change, but I follow a versioning logic and v2 is already pretty stable.

I think it would be extremely cool to be able to load a notebook, and see manim interactive animations as well as vega charts, images and audio.

I propose application/vnd.manim-widget.v2+json for the name of the mimebundle, following the convention of vega.

For now, I was not able to publish the js side on NPM (and for a dumb reason: I was not able to setup 2FA) but I wish to do it. And the js side without the dependencies is tiny anyway.

What do you think ?

Are you willing to submit a PR? (You must receive approval from the team before submitting a PR.)

  • Yes

(I never did it)

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions