https://github.com/eqs/q5
Creative coding framework for Python
https://github.com/eqs/q5
creative-coding generative-art graphics nannou pyo3 python rust
Last synced: 9 months ago
JSON representation
Creative coding framework for Python
- Host: GitHub
- URL: https://github.com/eqs/q5
- Owner: eqs
- License: mit
- Created: 2022-02-17T11:56:20.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-05T10:42:48.000Z (over 3 years ago)
- Last Synced: 2025-03-19T11:51:42.595Z (10 months ago)
- Topics: creative-coding, generative-art, graphics, nannou, pyo3, python, rust
- Language: Rust
- Homepage: https://pypi.org/project/q5/
- Size: 98.6 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# q5
[](https://badge.fury.io/py/q5)
[](https://pepy.tech/project/q5)
Creative coding framework for Python
## Installation
You can install q5 with:
```
pip install q5
```
## Usage
### Examples
See [examples](https://github.com/eqs/q5/tree/main/examples).
### Project Template
```python
# -*- coding: utf-8 -*-
import q5
class App(q5.BaseApp):
def setup(self):
q5.title('q5 app')
def update(self):
pass
def draw(self):
q5.background(220)
q5.ellipse(0.0, 0.0, 200.0, 200.0)
if __name__ == '__main__':
app = App()
app.run()
```
## Development
1. Install Rust lang: https://www.rust-lang.org/
1. Run commands:
```
pip install setuptools-rust
python setup.py develop
```
## License
MIT