https://github.com/aidarkhaibulov/pendulum-art
Computer graphics artwork. It's raster graphics pendulum-balls implemented by using NURBS curves.
https://github.com/aidarkhaibulov/pendulum-art
computergraphics matplotlib numpy nurbs-curves
Last synced: 23 days ago
JSON representation
Computer graphics artwork. It's raster graphics pendulum-balls implemented by using NURBS curves.
- Host: GitHub
- URL: https://github.com/aidarkhaibulov/pendulum-art
- Owner: AidarKhaibulov
- Created: 2023-02-14T12:50:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-14T12:57:33.000Z (over 3 years ago)
- Last Synced: 2025-03-15T21:16:57.142Z (about 1 year ago)
- Topics: computergraphics, matplotlib, numpy, nurbs-curves
- Language: Python
- Homepage:
- Size: 206 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pendulum-Art
Computer graphics artwork. It's raster graphics pendulum-balls implemented by using NURBS curves.
# How to use
Open pendulum.py file, download required modules and run the script. The resulting file will be saved with the name circle.gif. There is a demo file named demo which demonstrate artwork.
# More about work
Balls are created by drawing two NURBS curves which rotated in desired angle and shifted to certain place. After the first ball collide second one they exchange their colors, first ball stops and second one starts moving. While moving ball's border line "opens" and "closes" in the opposite side.