https://github.com/arihantparsoya/processingqt
A Python library for Processing Software. Built using Qt
https://github.com/arihantparsoya/processingqt
creative-coding processing-library pyqt5 pyside2 python qt5
Last synced: 11 months ago
JSON representation
A Python library for Processing Software. Built using Qt
- Host: GitHub
- URL: https://github.com/arihantparsoya/processingqt
- Owner: arihantparsoya
- License: gpl-3.0
- Created: 2020-05-26T15:44:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-18T10:46:00.000Z (over 5 years ago)
- Last Synced: 2025-02-14T04:46:02.416Z (12 months ago)
- Topics: creative-coding, processing-library, pyqt5, pyside2, python, qt5
- Language: Python
- Homepage:
- Size: 61.5 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ProcessingQt
A python library for Processing software.
## Installation Steps
* Install Qt: https://www.qt.io/download-qt-installer
* Install ProcessingQt using pip: `pip install ProcessingQt`
## APIs
### Structure
* setup()
* draw()
* [TODO]noLoop()
* [TODO]redraw()
* fullScreen()
* push()
* pop()
### Setting
* background()
* fill()
* noFill()
* stroke()
* noStroke()
### 2D Primitives
* arc(x, y, w, h, start, stop)
* ellipse(x, y, width, height)
* circle(x, y, radius)
* line(x1, y1, x2, y2)
* point(x, y)
* quad(x1, y1, x2, y2, x3, y3, x4, y4)
* rect(x, y, width, height)
* square(x, y, size)
* triangle(x1, y1, x2, y2, x3, y3)
### Attributes
* strokeCap()
* strokeWeight(weight)
* strokeJoin()
### Curves
* bezier()
* curve()
### Vertex
* beginContour()
* beginShape()
* bezierVertex()
* curveVertex()
* endContour()
* endShape()
* quadraticVertex()
* vertex()
### Transform
* [TODO]applyMatrix()
* [TODO]resetMatrix()
* rotate()
* rotateX()
* rotateY()
* rotateZ()
* scale()
* shearX()
* shearY()
* translate()
### Constants
* CLOSE
* POINTS
* LINES
* TRIANGLES
* TRIANGLE_FAN
* TRIANGLE_STRIP
* QUADS
* QUAD_STRIP
### Events
### Missing APIs
* Font
* Image