beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

Shapes2d_v2 Op

Ops.Gl.TextureEffects.Shapes2d_v2


Shapes2d

Op author: andro

Test Patches: 1 Test

Generates different 2d shapes to use as a texture


Generate a variety of 2d shapes as a texture. Combine multiple ops to generate new forms.
the following shapes are available:
circle - eqi triangle - iso triangle - box - rhombus - pentagon - hexagon - octagon - hexagram



Inputs

render (Trigger)

Trigger op

Blending

Blend Mode index (integer /Number)
Alpha Mask index (integer /Number)
Amount (Number)

Amount of belnding

Shape index (integer /Number)
Mirror X (boolean /Number)

mirror the x axis

Mirror Y (boolean /Number)

mirror the y axis

Offset X (Number)

Offset x axis

Offset Y (Number)

Offset y axis

fillShape (boolean /Number)

Disable to only draw shape outline

Line thickness (Number)

Line thickness when fillshape is disabled

Invert color (boolean /Number)

Invert color to background

width (Number)

width of shape

height (Number)

height of shape

Rotate (Number)

rotate the shape

r (Number)

red amount

g (Number)

green amount

b (Number)

blue amount

a (Number)

alpha amount

Outputs

trigger (Trigger)

next trigger

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Shapes2d example

Generate a variety of 2d shapes as a texture. Combine multiple ops to generate new forms.

Open Example In Editor

Patches using Shapes2d_v2

Changelog


created op
2019-08-20 - cables
cloned op from Ops.Gl.TextureEffects.Shapes2d
2022-04-20 - pandur
Ops.User.pandur.Shapes2D renamed to Ops.Dev.Shapes2DV2
2022-04-20 - pandur
Ops.Dev.Shapes2DV2 renamed to Ops.Gl.TextureEffects.Shapes2D_v2
2022-05-09 - pandur
Ops.Gl.TextureEffects.Shapes2D_v2 renamed to Ops.Gl.TextureEffects.Shapes2d_v2
2022-05-09 - pandur