Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completing #5 #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Completing #5 #6

wants to merge 4 commits into from

Conversation

TravorLZH
Copy link
Contributor

I put more details on the installation guide and tutorial, and I make corrections about formulas. More details can be found in the diff of the commits

* README.md: Add installation guide for Mac OSX, and use TexMobject for
	equations in the LaTeX tutorial (It's spelled as `LaTeX` instead of
	`LaTex`). See more in README.md
* README.md: Add one space after each `#`
* README.md: Do not show links directly
README.md Outdated
@@ -1,11 +1,11 @@
# Manim-Tutorial
A tutorial for manim, a mathematical animation engine made by 3b1b for Python.
## Requirements
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't have to entirely remove the req section. This guide is for everyone, including beginners. In the past, there have been beginners that have used this. So, leave the req section with Python as one of the reqs, and change linux to mac, linux or window.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep Original. I will change it

README.md Outdated
## Table of Contents
* [Installations](#Installations)
* [Common Problems](#Common-Problems)
* [Linux](#Linux)
Copy link
Owner

@malhotra5 malhotra5 Jul 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Job with the Mac addition.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep Changes


For subscripts, it is similar.

```python
subScript_equation = TextMobject("$\\theta_{1}$")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The $ signify an equation. Even if it isn't required its good practice. It should be left there.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep Original

Copy link
Owner

@malhotra5 malhotra5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the long term, I think these are good changes. Thanks for the insights.

README.md Outdated

``` bash
sudo apt install SystemReq
After having these libraries and tools installed in your computer, you can now type this command to finish the last step of the installation
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test that this works. As far as I know, this doesn't work yet on Linux or Windows.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep original. Only add mac additions

README.md Outdated
```
Phew! This will be the last installation for additional python modules. Run this in the terminal
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep original

README.md Outdated
```

### Common-Problems
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep Original

README.md Outdated
```

* Problem #2: **Exception: Latex error converting to dvi. See log output above or the log file**
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep original. I will take all your syntax changes into account, and give you credit for it.

README.md Outdated
```

**NOTE 1**: Your videos that you make are saved in the folder called *media*. \
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep Original

README.md Outdated
@@ -112,14 +137,16 @@ class Shapes(Scene):
```

We will break this into parts:
* Import: The import in this code is the import we will use in all manim projects. It has almost all the imports we will ever require
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep Original

README.md Outdated
* Code: You don't have to fully understand how the code works yet. But you can see that you first define your animations, and then you display it. You can experiment with the order in which you define and display.

**NOTE**: If you recall, to run this animation, you would run the following in the terminal -
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep original

README.md Outdated
@@ -162,10 +189,10 @@ class Shapes(Scene):
```
After looking at a lot of pieces of code in this tutorial, you will eventually familiarize yourself with manim. So lets start!

Our focus is going to shift from understanding the structure of our code, to understanding the code itself. The first import statement imports many of the classes we will use.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep Original

README.md Outdated
@@ -182,27 +209,26 @@ The section for showing the animaton displays the shapes, as specified in the co
* FadeOut
* GrowFromCenter

**Adding:**
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep original

* Play
* Add

In this code, I specifically included an example that I found useful to know.
``` python
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was changed in another commit. That has been taken into account. Ignore this.

README.md Outdated
@@ -250,7 +276,7 @@ TextMobjects will be used later on to write good looking math equations.

[![Youtube video link](https://img.youtube.com/vi/3pxIVQxlpRQ/0.jpg)](https://www.youtube.com/watch?v=3pxIVQxlpRQ)

### Math-Equations
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These header addition are good. Keep them.

README.md Outdated

LaTex will take it's own tutorial. However, you don't need to know a lot of LaTex. I will introduce some rules that will help you write any math equation. Notice that equations are specified in TextMobjects.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep Original

README.md Outdated
```

The ^ symbol signifies superscript. We put the symbol theta as the superscript. Also, when specifying superscript the {} brackets are not displayed in the equation. They help group all the elements you want to add to the superscript.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep Original

README.md Outdated
I am missing a lot of aspects behind this powerful library after reverse engineering manim. There are things such as 3D scenes that still need to be documented. But hopefully this guide will cater to your basic needs.
## Acknowledgements
* 3 Blue 1 Brown: The creator of this engine who uses it for creating cool math videos. Visit his YouTube channel and manin repo at
Copy link
Owner

@malhotra5 malhotra5 Jul 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep Original

Copy link
Owner

@malhotra5 malhotra5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think I will approve this yet. There are parts where you are knit picking my style of writing. I understand that there are problems with it as I wrote it in a rush, but I want to fix that myself. So, leave that to me and just keep the Mac installation. My comments will specify whether to keep original versions of the README or update it with your version.

Copy link
Owner

@malhotra5 malhotra5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think I will approve this yet. There are parts where you are knit picking my style of writing. I understand that there are problems with it as I wrote it in a rush, but I want to fix that myself. So, leave that to me and just keep the Mac installation. My comments will specify whether to keep original versions of the README or update it with your version.

@@ -123,13 +123,13 @@ from manimlib.imports import *

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good. Keep changes

@@ -571,10 +571,8 @@ Manim is extremely powerful, and is capable of creating high quality graphics. Y

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good. Keep changes.

@TravorLZH
Copy link
Contributor Author

TravorLZH commented Jul 20, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants