Code Monkey home page Code Monkey logo

manimations's Introduction

Video Lessons

Each folder must contain a README.md file describing the animations implemented in that folder's all .py files. After completing that animations drag and drop final video in the README.

DO NOT add any directories named images, media etc. (see more in .gitignore). Directories named test also will be ignored, so feel free to make test/ in your computer if you need.

See Configs.py

To use functions from Directory/file.py, add the following in your code QarakusiFunctions contains every other function file that we write, so importing only QarakusiFunctions will be enough.

import sys
sys.path.append("../../../../")       # relative path to the root of the repository
from Directory.file import *    # or import specific function
# example below
from Functions.QarakusiFunctions import *

To render the animation implemented in file.py just type 'manim -pql file_name.py scene_name' in the terminal in the directory containing the file.

To make it work the computer must have manimCE, miktex, etc. installed.

Linux Setup

First, install the following packages

sudo apt-get install sox ffmpeg libcairo2 libcairo2-dev texlive-full python3.8 python3-pip python3.8-venv

Afterwards, you can create a virtual environment by

python3.8 -mvenv .venv
source .venv/bin/activate
pip install -r requirements.txt

Each time you open a terminal, activate your virtual environment by

source .venv/bin/activate

Run a script by

PYTHONPATH=. manim -pql Videos/path/to/file.py SceneClassName

With PYTHONPATH set to the root of the repository, the sys.path.append part is not needed.

manimations's People

Contributors

narek-mkrtumyan avatar vachagan11 avatar tigranchtchyan avatar a-arakelian avatar karm99 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.