Skip to content

Commit

Permalink
change cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCrane committed Nov 6, 2022
1 parent 943ce65 commit c9be438
Show file tree
Hide file tree
Showing 28 changed files with 112 additions and 112 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@

html_static_path = ["_static"]
html_css_files = [
"https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/custom.css",
"https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/colors.css"
"https://mkcdn.tonycrane.cc/manimgl_assets/custom.css",
"https://mkcdn.tonycrane.cc/manimgl_assets/colors.css"
]
html_theme = 'furo' # pip install furo==2020.10.5b9
html_favicon = '_static/mk.png'
Expand Down
8 changes: 4 additions & 4 deletions docs/source/documentation/animation/composition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ AnimationGroup
:members:

.. manim-example:: AnimationGroupExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/composition/AnimationGroupExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/composition/AnimationGroupExample.mp4

class AnimationGroupExample(Scene):
def construct(self):
Expand All @@ -33,7 +33,7 @@ Succession
:members:

.. manim-example:: SuccessionExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/composition/SuccessionExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/composition/SuccessionExample.mp4

class SuccessionExample(Scene):
def construct(self):
Expand All @@ -59,7 +59,7 @@ LaggedStart
:members:

.. manim-example:: LaggedStartExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/composition/LaggedStartExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/composition/LaggedStartExample.mp4

class LaggedStartExample(Scene):
def construct(self):
Expand All @@ -86,7 +86,7 @@ LaggedStartMap
:members:

.. manim-example:: LaggedStartMapExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/composition/LaggedStartMapExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/composition/LaggedStartMapExample.mp4

class LaggedStartMapExample(Scene):
def construct(self):
Expand Down
12 changes: 6 additions & 6 deletions docs/source/documentation/animation/creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ShowCreation
:members:

.. manim-example:: ShowCreationExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/creation/ShowCreationExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/creation/ShowCreationExample.mp4

class ShowCreationExample(Scene):
def construct(self):
Expand All @@ -43,7 +43,7 @@ Uncreate
:members:

.. manim-example:: UncreateExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/creation/UncreateExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/creation/UncreateExample.mp4

class UncreateExample(Scene):
def construct(self):
Expand All @@ -70,7 +70,7 @@ DrawBorderThenFill
.. autoclass:: manimlib.animation.creation.DrawBorderThenFill

.. manim-example:: DrawBorderThenFillExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/creation/DrawBorderThenFillExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/creation/DrawBorderThenFillExample.mp4

class DrawBorderThenFillExample(Scene):
def construct(self):
Expand All @@ -94,7 +94,7 @@ Write
:members:

.. manim-example:: WriteExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/creation/WriteExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/creation/WriteExample.mp4

class WriteExample(Scene):
def construct(self):
Expand All @@ -118,7 +118,7 @@ ShowIncreasingSubsets
:members:

.. manim-example:: ShowIncreasingSubsetsExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/creation/ShowIncreasingSubsetsExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/creation/ShowIncreasingSubsetsExample.mp4

class ShowIncreasingSubsetsExample(Scene):
def construct(self):
Expand All @@ -134,7 +134,7 @@ ShowSubmobjectsOneByOne
:members:

.. manim-example:: ShowSubmobjectsOneByOneExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/creation/ShowSubmobjectsOneByOneExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/creation/ShowSubmobjectsOneByOneExample.mp4

class ShowSubmobjectsOneByOneExample(Scene):
def construct(self):
Expand Down
20 changes: 10 additions & 10 deletions docs/source/documentation/animation/fading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ FadeOut
:members:

.. manim-example:: FadeOutExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/fade/FadeOutExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/fade/FadeOutExample.mp4

class FadeOutExample(Scene):
def construct(self):
Expand All @@ -44,7 +44,7 @@ FadeIn
:members:

.. manim-example:: FadeInExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/fade/FadeInExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/fade/FadeInExample.mp4

class FadeInExample(Scene):
def construct(self):
Expand All @@ -63,7 +63,7 @@ FadeIn
self.wait()

.. manim-example:: FadeInFromExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/fade/FadeInFromExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/fade/FadeInFromExample.mp4

class FadeInFromExample(Scene):
def construct(self):
Expand All @@ -85,7 +85,7 @@ FadeIn
self.wait()

.. manim-example:: FadeOutAndShiftExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/fade/FadeOutAndShiftExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/fade/FadeOutAndShiftExample.mp4

class FadeOutAndShiftExample(Scene):
def construct(self):
Expand All @@ -110,7 +110,7 @@ FadeIn
self.wait()

.. manim-example:: FadeInFromLargeExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/fade/FadeInFromLargeExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/fade/FadeInFromLargeExample.mp4

class FadeInFromLargeExample(Scene):
def construct(self):
Expand Down Expand Up @@ -145,7 +145,7 @@ FadeInFromPoint
:members:

.. manim-example:: FadeInFromPointExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/fade/FadeInFromPointExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/fade/FadeInFromPointExample.mp4

class FadeInFromPointExample(Scene):
def construct(self):
Expand All @@ -169,7 +169,7 @@ FadeOutToPoint
:members:

.. manim-example:: FadeOutToPointExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/fade/FadeOutToPointExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/fade/FadeOutToPointExample.mp4

class FadeOutToPointExample(Scene):
def construct(self):
Expand All @@ -194,7 +194,7 @@ FadeTransform
:members:

.. manim-example:: FadeTransformExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/fade/FadeTransformExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/fade/FadeTransformExample.mp4

class FadeTransformExample(Scene):
def construct(self):
Expand All @@ -212,7 +212,7 @@ FadeTransformPieces
:members:

.. manim-example:: FadeTransformPiecesExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/fade/FadeTransformPiecesExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/fade/FadeTransformPiecesExample.mp4


class FadeTransformPiecesExample(Scene):
Expand Down Expand Up @@ -248,7 +248,7 @@ VFadeInThenOut

.. raw:: html

<video class="manim-video" controls loop autoplay src="https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manim_assets/mk/FadeAndVFade.mp4"></video>
<video class="manim-video" controls loop autoplay src="https://mkcdn.tonycrane.cc/manim_assets/mk/FadeAndVFade.mp4"></video>

``FadeIn`` 的边从细变粗,从暗变亮。 ``VFadeIn`` 的边始终是正常粗细,从暗变亮。

Expand Down
10 changes: 5 additions & 5 deletions docs/source/documentation/animation/growing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GrowFromPoint
:members:

.. manim-example:: GrowFromPointExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/growing/GrowFromPointExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/growing/GrowFromPointExample.mp4

class GrowFromPointExample(Scene):
def construct(self):
Expand All @@ -38,7 +38,7 @@ GrowFromCenter
:members:

.. manim-example:: GrowFromCenterExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/growing/GrowFromCenterExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/growing/GrowFromCenterExample.mp4

class GrowFromCenterExample(Scene):
def construct(self):
Expand All @@ -62,7 +62,7 @@ GrowFromEdge
:members:

.. manim-example:: GrowFromEdgeExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/growing/GrowFromEdgeExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/growing/GrowFromEdgeExample.mp4

class GrowFromEdgeExample(Scene):
def construct(self):
Expand All @@ -88,7 +88,7 @@ GrowArrow
:members:

.. manim-example:: GrowArrowExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/growing/GrowArrowExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/growing/GrowArrowExample.mp4

class GrowArrowExample(Scene):
def construct(self):
Expand All @@ -111,7 +111,7 @@ SpinInFromNothing
:members:

.. manim-example:: SpinInFromNothingExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/growing/SpinInFromNothingExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/growing/SpinInFromNothingExample.mp4

class SpinInFromNothingExample(Scene):
def construct(self):
Expand Down
6 changes: 3 additions & 3 deletions docs/source/documentation/animation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ rate_func

一个动画运行的速率参数,是一个定义域为[0,1]的函数,自带的如下

.. image:: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manim_assets/image/rate_functions.png
.. image:: https://mkcdn.tonycrane.cc/manim_assets/image/rate_functions.png

效果如下:

.. raw:: html

<video class="manim-video" controls loop autoplay src="https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manim_assets/mk/RateFunctions.mp4"></video>
<video class="manim-video" controls loop autoplay src="https://mkcdn.tonycrane.cc/manim_assets/mk/RateFunctions.mp4"></video>

.. raw:: html

<video class="manim-video" controls loop autoplay src="https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manim_assets/mk/RateFunctions2.mp4"></video>
<video class="manim-video" controls loop autoplay src="https://mkcdn.tonycrane.cc/manim_assets/mk/RateFunctions2.mp4"></video>


lag_ratio
Expand Down
24 changes: 12 additions & 12 deletions docs/source/documentation/animation/indication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FocusOn
:members:

.. manim-example:: FocusOnExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/indication/FocusOnExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/indication/FocusOnExample.mp4

class FocusOnExample(Scene):
def construct(self):
Expand Down Expand Up @@ -41,7 +41,7 @@ Indicate
:members:

.. manim-example:: IndicateExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/indication/IndicateExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/indication/IndicateExample.mp4

class IndicateExample(Scene):
def construct(self):
Expand All @@ -66,7 +66,7 @@ Flash
:members:

.. manim-example:: FlashExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/indication/FlashExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/indication/FlashExample.mp4

class FlashExample(Scene):
def construct(self):
Expand Down Expand Up @@ -96,7 +96,7 @@ CircleIndicate
:members:

.. manim-example:: CircleIndicateExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/indication/CircleIndicateExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/indication/CircleIndicateExample.mp4

class CircleIndicateExample(Scene):
def construct(self):
Expand All @@ -123,7 +123,7 @@ ShowCreationThenDestruction
:members:

.. manim-example:: ShowCreationThenDestructionExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/indication/ShowCreationThenDestructionExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/indication/ShowCreationThenDestructionExample.mp4

class ShowCreationThenDestructionExample(Scene):
def construct(self):
Expand All @@ -147,7 +147,7 @@ ShowCreationThenFadeOut
:members:

.. manim-example:: ShowCreationThenFadeOutExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/indication/ShowCreationThenFadeOutExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/indication/ShowCreationThenFadeOutExample.mp4

class ShowCreationThenFadeOutExample(Scene):
def construct(self):
Expand Down Expand Up @@ -176,7 +176,7 @@ ShowPassingFlashAround
:members:

.. manim-example:: ShowPassingFlashAroundExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/indication/ShowPassingFlashAroundExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/indication/ShowPassingFlashAroundExample.mp4

class ShowPassingFlashAroundExample(Scene):
# 目前有显示不全的 bug
Expand All @@ -203,7 +203,7 @@ ShowCreationThenDestructionAround
:members:

.. manim-example:: ShowCreationThenDestructionAroundExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/indication/ShowCreationThenDestructionAroundExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/indication/ShowCreationThenDestructionAroundExample.mp4

class ShowCreationThenDestructionAroundExample(Scene):
def construct(self):
Expand All @@ -229,7 +229,7 @@ ShowCreationThenFadeAround
:members:

.. manim-example:: ShowCreationThenFadeAroundExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/indication/ShowCreationThenFadeAroundExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/indication/ShowCreationThenFadeAroundExample.mp4

class ShowCreationThenFadeAroundExample(Scene):
def construct(self):
Expand All @@ -255,7 +255,7 @@ ApplyWave
:members:

.. manim-example:: ApplyWaveExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/indication/ApplyWaveExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/indication/ApplyWaveExample.mp4

class ApplyWaveExample(Scene):
def construct(self):
Expand All @@ -281,7 +281,7 @@ WiggleOutThenIn
:members:

.. manim-example:: WiggleOutThenInExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/indication/WiggleOutThenInExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/indication/WiggleOutThenInExample.mp4

class WiggleOutThenInExample(Scene):
def construct(self):
Expand All @@ -307,7 +307,7 @@ TurnInsideOut
:members:

.. manim-example:: TurnInsideOutExample
:media: https://fastly.jsdelivr.net/gh/manim-kindergarten/CDN@master/manimgl_assets/animations/indication/TurnInsideOutExample.mp4
:media: https://mkcdn.tonycrane.cc/manimgl_assets/animations/indication/TurnInsideOutExample.mp4

class TurnInsideOutExample(Scene):
# 对文字使用会造成非常大的问题
Expand Down
Loading

0 comments on commit c9be438

Please sign in to comment.