Skip to content

Instantly share code, notes, and snippets.

Avatar
😍
throw an exception

Student B. mowshon

😍
throw an exception
View GitHub Profile
@mowshon
mowshon / moviepy-zoom-in-effect.py
Last active Nov 16, 2021
Zoom-in Effect for Moviepy. This function makes the zoom effect smoother.
View moviepy-zoom-in-effect.py
import moviepy.editor as mp
import math
from PIL import Image
import numpy
def zoom_in_effect(clip, zoom_ratio=0.04):
def effect(get_frame, t):
img = Image.fromarray(get_frame(t))
base_size = img.size
View arch-linux-scipy-dependences.sh
yay python-dev
yay blas
yay lapack
yay gcc-fortran