# orx-shapes

Collection of 2D shape generators (polygon, star, rounded rectangle) and shape modifiers.

<!-- __demos__ -->
## Demos
### DemoAlphaShape
[source code](src/demo/kotlin/DemoAlphaShape.kt)

![DemoAlphaShapeKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoAlphaShapeKt.png)

### DemoBezierPatch01
[source code](src/demo/kotlin/DemoBezierPatch01.kt)

![DemoBezierPatch01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch01Kt.png)

### DemoBezierPatch02
[source code](src/demo/kotlin/DemoBezierPatch02.kt)

![DemoBezierPatch02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch02Kt.png)

### DemoBezierPatch03
[source code](src/demo/kotlin/DemoBezierPatch03.kt)

![DemoBezierPatch03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch03Kt.png)

### DemoBezierPatch04
[source code](src/demo/kotlin/DemoBezierPatch04.kt)

![DemoBezierPatch04Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch04Kt.png)

### DemoBezierPatch05
[source code](src/demo/kotlin/DemoBezierPatch05.kt)

![DemoBezierPatch05Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatch05Kt.png)

### DemoBezierPatchDrawer01
[source code](src/demo/kotlin/DemoBezierPatchDrawer01.kt)

![DemoBezierPatchDrawer01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatchDrawer01Kt.png)

### DemoBezierPatchDrawer02
[source code](src/demo/kotlin/DemoBezierPatchDrawer02.kt)

![DemoBezierPatchDrawer02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatchDrawer02Kt.png)

### DemoBezierPatchDrawer03
[source code](src/demo/kotlin/DemoBezierPatchDrawer03.kt)

![DemoBezierPatchDrawer03Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatchDrawer03Kt.png)

### DemoBezierPatches01
[source code](src/demo/kotlin/DemoBezierPatches01.kt)

![DemoBezierPatches01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoBezierPatches01Kt.png)

### DemoHobbyCurve01
[source code](src/demo/kotlin/DemoHobbyCurve01.kt)

![DemoHobbyCurve01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoHobbyCurve01Kt.png)

### DemoHobbyCurve02
[source code](src/demo/kotlin/DemoHobbyCurve02.kt)

![DemoHobbyCurve02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoHobbyCurve02Kt.png)

### DemoRectangleGrid
[source code](src/demo/kotlin/DemoRectangleGrid.kt)

![DemoRectangleGridKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRectangleGridKt.png)

### DemoRegularPolygon
[source code](src/demo/kotlin/DemoRegularPolygon.kt)

![DemoRegularPolygonKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRegularPolygonKt.png)

### DemoRegularStar01
[source code](src/demo/kotlin/DemoRegularStar01.kt)

![DemoRegularStar01Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRegularStar01Kt.png)

### DemoRegularStar02
[source code](src/demo/kotlin/DemoRegularStar02.kt)

![DemoRegularStar02Kt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRegularStar02Kt.png)

### DemoRoundedRectangle
[source code](src/demo/kotlin/DemoRoundedRectangle.kt)

![DemoRoundedRectangleKt](https://raw.githubusercontent.com/openrndr/orx/media/orx-shapes/images/DemoRoundedRectangleKt.png)
