Skip to content

T-Dynamos/materialshapes-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

materialshapes-python

A complete Python port of the official Material Design 3 shape system from Android. It includes rounded polygon generation, shape morphing, and smooth transitions based on Google's original Java source.

Uses pycairo for 2D graphics rendering. Can be used with Python GUI libraries. A Kivy widget is already included.

Material Design Shape System

Docs

There is no separate documentation yet.

The examples serve as the documentation and cover all major features. Check them out to understand usage and integration.

Examples

File: kivy.py

Run using:

python3 -m examples.kivy
vid.mp4

File: loading_indicator.py

Run using:

python3 -m examples.loading_indicator
vid.mp4

About

Material shapes in pure python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages