Giter Site home page Giter Site logo

my_manim's Introduction

my_manim

環境構築

Mac: https://docs.manim.community/en/stable/installation/macos.html

$ brew install py3cairo ffmpeg
$ brew install pango pkg-config scipy

### Tex
# full
$ brew install --cask mactex-no-gui
# small
$ brew install basictex --cask

# eval "$(/usr/libexec/path_helper)"

# brewのpythonのバージョンを確認し、そのバージョンに合わせる必要がある気がする
# setuptools 同梱のpkg_resourcesが必要 -> オプションで指定
$ rye install manim --extra-requirement setuptools

メモ

基本的なCLIの使い方

manim renderを利用してpythonファイルから動画を生成する。
manimの後にsubcommandが設定されていない場合、manim renderが呼び出される.

  • ql / qh : --quality
    • l: 低画質
    • h: 高画質
  • -p: 生成が終わった後、自動で動画を再生する
  • -s: 生成が終わった後、Sceneの最後のプレビューを書き出す

トランジションが想定通りの挙動をしないとき

manimのMobject.animateはトランジションの最初の状態と最後の状態を補間するように遷移の描画を作る.
そのため四角形の180度回転など開始と最後の状態が同じときは遷移がおかしくなる時がある.

強調表現

  • Inicate: 短い時間で拡大してから戻す
  • FocusOn: 薄い円が対象に集まる
  • Flash: 短い線が花火のように広がる

my_manim's People

Contributors

skanehira1126 avatar

Stargazers

 avatar

Watchers

 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.