Coder Social home page Coder Social logo

manim-web / manim-web Goto Github PK

View Code? Open in Web Editor NEW
78.0 4.0 9.0 1.32 MB

Manim animation engine, for the web

Home Page: https://manim-web.hugos29.dev

License: MIT License

HTML 2.28% Dart 97.72%
animation-engine dart manim web graphics hacktoberfest

manim-web's Introduction

Manim Web

Manim animation engine, for the web.

Changelog | Manim | Suggestions / Improvements | FAQ | Discord Server | Website

Getting started

Look at the Getting Started section of the website.

Examples

You can find a list of examples of animations built with Manim-Web here. Some of them are interactive.

Contributing

Contributions are always welcome whether it's code, documentation, examples or even improvements to make. You can take a look at the contribution document, there are more details about the whole process. If you want to talk, there is a discord server.

manim-web's People

Contributors

hugo-s29 avatar jcosmos0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

manim-web's Issues

Rounded Rectangle Bug in latest manim web version: 1.2.3

Rendered Rounded Rectangle:

image

There is some sort of error with displaying the Rounded Rectangle as seen in the screenshot. For reference, here is the desired output created using the manim library:

image

Steps to reproduce:

  • Use Manim web version 1.2.3
  • Use the following code
image

Additional Specs:

  • Google Chrome v118.0.5993.117
  • M1 Macbook air

Choose which canvas to draw to

Hello,

for what is my understanding, the id canvas-container is hard-coded in the code
and cannot be chosen.
I think it would be useful if the user could choose it. Having multiple animations in the same page requires to manually change the id from the generated js file.

I would also suggest changing the user experience such that the animations are added in the following way:

<script src="animation.js"></script>
<script>
let container = document.getElementById('canvas-container');
let anim = new Animation1(container);

// possible to do other stuff such as
anim.stop();
anim.resume();
anim.customAction();
</script>

By doing this it would also possible to make the animation stop rendering when it is not visible in the web page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.