r14r / Manim_Create-an-Animation-with-Manim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Programmier-Workshop: Python / Fortgeschrittene

Logo

Logo

Create Manim Development Environment

Using Docker, we will setup a development environment on Ubuntu.

Beside of the Dockerfile to create the environment, we will utilise a Makefile to easly build and run the Manim environment.

To build the envrionnment, type: make build

To run the environment, type: make run

Dockerfile

  • use latest Ubuntu Version

  • add sudo functionality für user

  • set root password

  • install latex and additional fonts

  • install manim and manimlib

Using Manim

Run the environment by typing ```make run``.

This starts the docker environment with the local folder srcmapped into docker.

$ make run
docker run  -v ./src:/home/user/src -it manim-ubuntu
user@622fa8e5830a:~$

Run some examples

DOC 110 DEMO.MD

SquareToCircle TexTransformExample MathematicalEquation MovingAndZoomingCamera
SquareToCircle TexTransformExample MathematicalEquation MovingAndZoomingCamera
InteractiveDevelopment ShapesReplacement TextExample PointMovingOnShapes
InteractiveDevelopment ShapesReplacement TextExample PointMovingOnShapes

DOC 120 REFERENCE.MD

ThreeDCameraRotation MovingAngle ThreeDCameraIllusionRotation MobjectPlacement
ThreeDCameraRotation MovingAngle ThreeDCameraIllusionRotation MobjectPlacement
FixedInFrameMObjectTest ThreeDSurfacePlot MovingDots MovingAround
FixedInFrameMObjectTest ThreeDSurfacePlot MovingDots MovingAround
MovingGroupToDestination ArgMinExample ShowScreenResolution AnimateExample
MovingGroupToDestination ArgMinExample ShowScreenResolution AnimateExample
ExampleTransform RotationUpdater SquareToCircle2 SquareToCircle3
ExampleTransform RotationUpdater SquareToCircle2 SquareToCircle3
FollowingGraphCamera CoordsToPointExample ExampleRotation PointToCoordsExample
FollowingGraphCamera CoordsToPointExample ExampleRotation PointToCoordsExample
PointWithTrace LineGraphExample SquareAndCircle2 LogScalingExample
PointWithTrace LineGraphExample SquareAndCircle2 LogScalingExample
AnimatedSquareToCircle2 RunTime DifferentRotations2 Shapes
AnimatedSquareToCircle2 RunTime DifferentRotations2 Shapes
MobjectStyling Formula1 IterateColor SineCurveUnitCircle
MobjectStyling Formula1 IterateColor SineCurveUnitCircle
OpeningManim BooleanOperations MobjectZOrder PointMovingOnShapes
OpeningManim BooleanOperations MobjectZOrder PointMovingOnShapes
CreatingMobjects SomeAnimations MovingFrameBox CreateCircle
CreatingMobjects SomeAnimations MovingFrameBox CreateCircle

DOC 121 MANIM.MD

AddToVGroup Anagram AnimateChainExample AnimateExample
AddToVGroup Anagram AnimateChainExample AnimateExample
AnimateWithArgsExample AnimatedBoundaryExample AnimationOverrideExample ApplyFuncExample
AnimateWithArgsExample AnimatedBoundaryExample AnimationOverrideExample ApplyFuncExample
ApplyingWaves ArcBetweenPointsExample ArcPolygonExample ArcPolygonExample2
ApplyingWaves ArcBetweenPointsExample ArcPolygonExample ArcPolygonExample2
ArgMinExample BecomeScene BraceBPExample BroadcastExample
ArgMinExample BecomeScene BraceBPExample BroadcastExample
ChangeGraphLayout ChangeOfDirection ChangingCameraWidthAndRestore ChangingZoomScale
ChangeGraphLayout ChangeOfDirection ChangingCameraWidthAndRestore ChangingZoomScale
ClockwisePathExample ComplexValueTrackerExample ContinuousMotion CounterclockwisePathExample
ClockwisePathExample ComplexValueTrackerExample ContinuousMotion CounterclockwisePathExample
CreateScene CreateTableExample CreatingMobjects CutoutExample
CreateScene CreateTableExample CreatingMobjects CutoutExample
DarkThemeBanner DifferentFadeTransforms DissipatingPathExample DtUpdater
DarkThemeBanner DifferentFadeTransforms DissipatingPathExample DtUpdater
EndAnimation ExampleTransform ExpandDirections FadeInExample
EndAnimation ExampleTransform ExpandDirections FadeInExample
FadeTransformSubmobjects Fading FlashOnCircle GrowArrowExample
FadeTransformSubmobjects Fading FlashOnCircle GrowArrowExample
GrowFromCenterExample GrowFromEdgeExample GrowFromPointExample Growing
GrowFromCenterExample GrowFromEdgeExample GrowFromPointExample Growing
HeightExample Indications InvertSumobjectsExample JustifyText
HeightExample Indications InvertSumobjectsExample JustifyText
LagRatios LightThemeBanner LineExample LinearTransformationSceneExample
LagRatios LightThemeBanner LineExample LinearTransformationSceneExample
MatchPointsScene MatchingEquationParts MobjectPlacement MobjectStyling
MatchPointsScene MatchingEquationParts MobjectPlacement MobjectStyling
MobjectZOrder MoveAlongPathExample MovingAndZoomingCamera MovingCameraCenter
MobjectZOrder MoveAlongPathExample MovingAndZoomingCamera MovingCameraCenter
MovingCameraOnGraph MovingDots MovingGroupToDestination MovingSquareWithUpdaters
MovingCameraOnGraph MovingDots MovingGroupToDestination MovingSquareWithUpdaters
MovingVertices MyScene NextToUpdater Nudging
MovingVertices MyScene NextToUpdater Nudging
OverrideAnimationExample PathAlongArcExample PathAlongCirclesExample PointCloudDotExample2
OverrideAnimationExample PathAlongArcExample PathAlongCirclesExample PointCloudDotExample2
PolygramExample RateFunctions1Example RunTime ScaleVectorFieldFunction
PolygramExample RateFunctions1Example RunTime ScaleVectorFieldFunction
SeveralArcPolygons Shapes ShapesWithVDict ShowDrawBorderThenFill
SeveralArcPolygons Shapes ShapesWithVDict ShowDrawBorderThenFill
ShowIncreasingSubsetsScene ShowUncreate ShowWrite ShowWriteReversed
ShowIncreasingSubsetsScene ShowUncreate ShowWrite ShowWriteReversed
ShuffleSubmobjectsExample SizingAndSpacing SomeAnimations SpinInFromNothingExample
ShuffleSubmobjectsExample SizingAndSpacing SomeAnimations SpinInFromNothingExample
SpiralPathExample StraightPathExample StreamLineCreation TracedPathExample
SpiralPathExample StraightPathExample StreamLineCreation TracedPathExample
UnwriteReverseFalse UnwriteReverseTrue UseZoomedScene UsingFlash
UnwriteReverseFalse UnwriteReverseTrue UseZoomedScene UsingFlash
UsingFocusOn UsingIndicate ValueTrackerExample VariableExample
UsingFocusOn UsingIndicate ValueTrackerExample VariableExample

Additional Readings

Talking Physics - A conversation about teaching and learning physics

readthedocs - manim documentation/examples

https://financial-engineering.medium.com/manim-examples-3ec2a6e985c5

About


Languages

Language:Python 57.8%Language:TeX 41.1%Language:Shell 0.8%Language:Makefile 0.1%Language:Dockerfile 0.1%