Code Monkey home page Code Monkey logo

Comments (21)

Elteoremadebeethoven avatar Elteoremadebeethoven commented on May 14, 2024

Please use the markdown format to make it easier to read the code. Here I show you a quick tutorial.

This is because you only have the RemoveBackgroundStrokeWidth scene, but you also need to have ChangeBackgroundColor. RemoveBackgroundStrokeWidth is a subclass of ChangeBackgroundColor, so you must import it in some way, in the video it is explained that you must use the COMPLETE code, this one here. I named it faqs.py, so you download and render it normally:

python3 -m manim faqs.py RemoveBackgroundStrokeWidth -pl

from animationswithmanim.

barakasamsara avatar barakasamsara commented on May 14, 2024

Please use the markdown format to make it easier to read the code. Here I show you a quick tutorial.

This is because you only have the RemoveBackgroundStrokeWidth scene, but you also need to have ChangeBackgroundColor. RemoveBackgroundStrokeWidth is a subclass of ChangeBackgroundColor, so you must import it in some way, in the video it is explained that you must use the COMPLETE code, this one here. I named it faqs.py, so you download and render it normally:

python3 -m manim faqs.py RemoveBackgroundStrokeWidth -pl

thanks a lot, i'll try to make it

from animationswithmanim.

barakasamsara avatar barakasamsara commented on May 14, 2024

Please use the markdown format to make it easier to read the code. Here I show you a quick tutorial.

This is because you only have the RemoveBackgroundStrokeWidth scene, but you also need to have ChangeBackgroundColor. RemoveBackgroundStrokeWidth is a subclass of ChangeBackgroundColor, so you must import it in some way, in the video it is explained that you must use the COMPLETE code, this one here. I named it faqs.py, so you download and render it normally:

python3 -m manim faqs.py RemoveBackgroundStrokeWidth -pl

image

I copied the file "faqs.py" and replaced the name to Luciantest20190820faqs
I really don't know what happens... it didn't work...

python3 -m manim Luciantest20190820faqs.py RemoveBackgroundStrokeWidth -pl

from animationswithmanim.

Elteoremadebeethoven avatar Elteoremadebeethoven commented on May 14, 2024

Please read what the terminal is telling you, it is not so difficult.
You are using the most recent version, change the first line: from big_ol_pile_of_manim_imports import * with from manimlib.imports import *.

from animationswithmanim.

barakasamsara avatar barakasamsara commented on May 14, 2024

Please read what the terminal is telling you, it is not so difficult.
You are using the most recent version, change the first line: from big_ol_pile_of_manim_imports import * with from manimlib.imports import *.

I'm so sorry to trouble you again ...with stupid question....
image

image

from animationswithmanim.

Elteoremadebeethoven avatar Elteoremadebeethoven commented on May 14, 2024

That is because you do not have the necessary packages installed on XeLaTeX, you must install them. The packages you need to install are in manimlib/tex_template.tex

from animationswithmanim.

barakasamsara avatar barakasamsara commented on May 14, 2024

image
image

i have changed the list before, it means now i need to install all the packages listed on the two documents, right?

and how to install packages listed here?

for example, if i want to install the package "\usepackage[english]{babel}"
can i use the order:

brew install [english]{babel}
......

from animationswithmanim.

Elteoremadebeethoven avatar Elteoremadebeethoven commented on May 14, 2024

No, this is not the way, you have to investigate how to install LaTeX packages on Mac, there are many forums where that is explained. BTW, you are using XeLaTeX, so, your tex file is manimlib/ctex_template.tex not manimlib/tex_template.tex, I forgot tell you that.

from animationswithmanim.

barakasamsara avatar barakasamsara commented on May 14, 2024

thanks , i'll try

from animationswithmanim.

Elteoremadebeethoven avatar Elteoremadebeethoven commented on May 14, 2024

Or you can install full MacTeX, see this.

from animationswithmanim.

barakasamsara avatar barakasamsara commented on May 14, 2024

thanks a lot! but i think maybe i have installed full mactex?
it was the same as you said in your video...
i don't what has happened...

image
image

from animationswithmanim.

barakasamsara avatar barakasamsara commented on May 14, 2024

image
this is the version i installed last time...

from animationswithmanim.

barakasamsara avatar barakasamsara commented on May 14, 2024

this is the source code of manim:
image
this is the video
image

but when i programmed the same code using python:

image

and i'm a little confused about the x_labeled_nums....because the paradox of it...

from animationswithmanim.

Elteoremadebeethoven avatar Elteoremadebeethoven commented on May 14, 2024

You are correct, manim is not configured to use decimals on labels, in video 6 I explain how to add decimals.

from animationswithmanim.

barakasamsara avatar barakasamsara commented on May 14, 2024

Thanks a lot...and what's about the packages of latex........

from animationswithmanim.

Elteoremadebeethoven avatar Elteoremadebeethoven commented on May 14, 2024

Do you want to use LaTeX or XeLaTeX? Because in your image here:

#10 (comment)

You can clearly read that you are using XeLaTeX, if you do not have it installed that is why it does not work. So better configure in manimlib/constants.py TEX_USE_CTEX = False instead True.

from animationswithmanim.

Elteoremadebeethoven avatar Elteoremadebeethoven commented on May 14, 2024

If that doesn't work, install TexMaker (it's free software) open the file tex_template.tex in manimlib/ and compile it. After that (with TEX_USE_CTEX = False in constants.py) run the scene again.

from animationswithmanim.

barakasamsara avatar barakasamsara commented on May 14, 2024

thank a lot ...i have changed False to True before i asked the question to you... so i just now i downloaded the Texmaker ,but i don't know what's the meaning of compile...

from animationswithmanim.

Elteoremadebeethoven avatar Elteoremadebeethoven commented on May 14, 2024

See a video tutorial about how to compile in TexMaker.

from animationswithmanim.

barakasamsara avatar barakasamsara commented on May 14, 2024

Thanks a lot

from animationswithmanim.

barakasamsara avatar barakasamsara commented on May 14, 2024

image
too much awkward...
I'm so sorry to bother you again about this question,,,
I really don't know what the meaning of "compile" here... and i search it in youtube...but it seems that..

from animationswithmanim.

Related Issues (20)

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.