Skip to content

eqs/q5

Repository files navigation

q5

PyPI version Downloads

Creative coding framework for Python

Installation

You can install q5 with:

pip install q5

Usage

Examples

See examples.

Project Template

# -*- 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/
  2. Run commands:
pip install setuptools-rust
python setup.py develop

License

MIT