Skip to content

Video editing with Python

Use integer division for the resolution of the star worms example video (#1173)

Jay Ess6057cf023d6e
diff --git a/examples/star_worms.py b/examples/star_worms.py
index 58c8d736..f6c94061 100644
--- a/examples/star_worms.py
+++ b/examples/star_worms.py
@@ -15,7 +15,7 @@ from skimage import transform as tf
# RESOLUTION
w = 720
-h = w * 9 / 16 # 16/9 screen
+h = w * 9 // 16 # 16/9 screen
moviesize = w, h