Turtle🐢
🔸Turtle is a pre-installed Python library that enables users to create pictures and shapes by providing them with a virtual canvas. It was part of the original Logo programming language developed by Wally Feurzig and Seymour Papert in 1966.
Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an
🔗Docs
🔗The Beginner's Guide to Python Turtle (RealPython)
#turtle #graphics
🔸Turtle is a pre-installed Python library that enables users to create pictures and shapes by providing them with a virtual canvas. It was part of the original Logo programming language developed by Wally Feurzig and Seymour Papert in 1966.
Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an
import turtle
, give it the command turtle.forward(15)
, and it moves (on-screen!) 15 pixels in the direction it is facing, drawing a line as it moves. Give it the command turtle.right(25)
, and it rotates in-place 25 degrees clockwise. By combining together these and similar commands, intricate shapes and pictures can easily be drawn.🔗Docs
🔗The Beginner's Guide to Python Turtle (RealPython)
#turtle #graphics
Video editing with Python 🎞
🔸MoviePy is a Python module for video editing, which can be used for basic operations (like cuts, concatenations, title insertions), video processing, or to create advanced effects. It can read and write the most common video formats, including GIF.
⚙️Installation
🔗Docs
🔗GitHub
🔗Editing Video with Python + MoviePy Tutorial
#moviepy #graphics
🔸MoviePy is a Python module for video editing, which can be used for basic operations (like cuts, concatenations, title insertions), video processing, or to create advanced effects. It can read and write the most common video formats, including GIF.
⚙️Installation
pip install moviepy
The key objects in MoviePy are VideoClips
, which contains video and sound. In a typical MoviePy script, you load video or audio files, modify them, put them together, and write the final result to a new video file.🔗Docs
🔗GitHub
🔗Editing Video with Python + MoviePy Tutorial
#moviepy #graphics