Skip to content

McrCoderDojo/push-button-stop-motion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Push button stop motion

Make your own stop motion animation rig with a push button, using Python Picamera and GPIO.

You can use LEGO to animate a tower being built, figures acting out a scene, or anything else you can think of!

Requirements

As well as a Raspberry Pi with an SD card loaded with Raspbian, you'll also need:

Hardware

Software

  • python3-picamera
  • ffmpeg

See more information on checking you have these packages installed, and how to install them on the software installation page.

Extras

  • Animation subject (e.g. LEGO)
  • Camera mount (optional but useful)
    • Can be home-made (e.g. cardboard and/or Blu-Tack)
    • Can be bought (e.g. from Pimoroni or ModMyPi)

Steps

  1. Test the camera
  2. Take a picture with Python
  3. Connect a hardware button
  4. Take a selfie
  5. Stop motion animation
  6. Render the video

Worksheet & included files

You'll need the worksheet for the instructions and the GPIO diagram for the button setup. Optionally, you can download the final version of the code to save typing it out.

Rendering options

The rendering process is intensive and with many frames can take a long time on the Pi. You may wish to render the video on another computer using general video editing software such as Movie Maker on Windows, iMovie on Mac or mencoder on Linux.

Python 2 compatibility

This worksheet works fine in both Python 2 and Python 3. Python 3 is recommended but if you require Python 2 for an extension of the worksheet, simply use the equivalent Python 2 packages when installing. See the software installation page.

Licence

Unless otherwise specified, everything in this repository is covered by the following licence:

Creative Commons License

Push Button Stop Motion by Dave Jones and the Raspberry Pi Foundation is licenced under a Creative Commons Attribution 4.0 International License.

Based on a work at https://github.com/raspberrypilearning/push-button-stop-motion

About

Make your own stop motion animation rig with a push button, using Python Picamera and GPIO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%