Creative coding framework for Python
- Install Rust lang: https://www.rust-lang.org/
- Run commands:
pip install setuptools-rust
pip install q5
pip install setuptools-rust
python setup.py develop
# -*- 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()