-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile-blog
36 lines (30 loc) · 1.53 KB
/
Makefile-blog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Makefile for building the blog slides.
# Build slide to a video with manim with given quality
build-video:
manim -q$(q) slides_blog.py $(slide) --renderer opengl --write_to_movie
build-video-preview:
manim -q$(q) slides_blog.py $(slide) --renderer opengl --preview
# Build slide to an image with given quality
build-image:
manim -q$(q) slides_blog.py $(slide) -s
run-all-simulations:
cargo build --release
./target/release/simulation single_planet
./target/release/simulation multi_planet
./target/release/simulation leo_to_moon
./target/release/simulation halo_orbits_earth_moon
./target/release/simulation halo_orbits_sun_earth
./target/release/simulation manifolds_earth_moon
build-video-all:
manim -q$(q) slides_blog.py SinglePlanet --renderer opengl --write_to_movie
manim -q$(q) slides_blog.py MultiPlanet --renderer opengl --write_to_movie
manim -q$(q) slides_blog.py LeoToMoon --renderer opengl --write_to_movie
manim -q$(q) slides_blog.py EffectivePotential --renderer opengl --write_to_movie
manim -q$(q) slides_blog.py HaloOrbits --renderer opengl --write_to_movie
manim -q$(q) slides_blog.py EarthMoonManifolds --renderer opengl --write_to_movie
manim -q$(q) slides_blog.py PotentialHill --renderer opengl --write_to_movie
manim -q$(q) slides_blog.py Manifolds3Body --renderer opengl --write_to_movie
manim -q$(q) slides_blog.py BallisticCapture --renderer opengl --write_to_movie
manim -q$(q) slides_blog.py References --renderer opengl --write_to_movie
cp-slides:
cp -r slides/ $(blog_src)/posts/2024/low-energy-transfers/