Skip to content

Instantly share code, notes, and snippets.

View PythonTryHard's full-sized avatar
🖥️
Decoupling logic

PythonTryHard PythonTryHard

🖥️
Decoupling logic
View GitHub Profile
@PythonTryHard
PythonTryHard / BadApple.wl
Last active September 19, 2024 12:03
Bad Apple
(* Set current directory for sanity *)
SetDirectory["E:\\Development\\BadApple\\"];
(* Load the video in *)
badAppleVideo = Import["BadApple.mp4"];
frameList = ColorConvert[VideoFrameList[badAppleVideo, All], "Grayscale"];
(* This is dependent on how many CPU cores and RAM you have. *)
LaunchKernels[16];