An open API service indexing awesome lists of open source software.

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.

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.