https://github.com/kavishkafx/bouncing-ball-inside-a-circle
A Pygame-based animation where a ball bounces inside a circular boundary. The animation is rendered and exported as a video using MoviePy.
https://github.com/kavishkafx/bouncing-ball-inside-a-circle
bouncing-ball moviepy pygame python
Last synced: about 2 months ago
JSON representation
A Pygame-based animation where a ball bounces inside a circular boundary. The animation is rendered and exported as a video using MoviePy.
- Host: GitHub
- URL: https://github.com/kavishkafx/bouncing-ball-inside-a-circle
- Owner: kavishkafx
- License: mit
- Created: 2024-11-20T12:45:58.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-20T13:11:06.000Z (6 months ago)
- Last Synced: 2025-01-28T10:38:21.845Z (4 months ago)
- Topics: bouncing-ball, moviepy, pygame, python
- Language: Python
- Homepage: https://kavishkafx.github.io/
- Size: 791 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Ball Animation with Circular Mask
This Python project creates an animation of a bouncing ball inside a circle, where everything outside the circle is masked out and transparent.
## Requirements
- Python 3.x
- `pygame`
- `moviepy````
ball-animation/
│
├── main.py
├── setup.py
├── README.md
├── output_video_20241120_174717.mp4
└── output_video_20241120_180454.mp4
```
- sample videos & images:- 
- 
- 