Skip to content

lmichaudel/bouncing-balls-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Bouncing balls python

A python framework to generate the infamous "bouncing balls" tiktoks.

frame_0001

Features

Supports loading images for the ball, playing sound on bounces and on ring destructions (sounds must be .wav sampled at 44.1kHz).

Ring color, speed and angles are adjustable.

Ball velocities are adjustable.

Dependencies

  • pygame to manage the windows and render the balls.
  • cairo to render the rings with anti aliasing.
  • scipy to manage the sounds.
  • PIL to export the frames.
  • ffmpeg (optional) to combine the generated frames alongside the audio file.

About

A python framework to generate the infamous "bouncing balls" tiktoks.

Resources

Stars

Watchers

Forks

Languages