Shapes2d_v2 Op

Shapes2d

Generates different 2d shapes to use as a texture


<p>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</p>


Full Name
  • Ops.Gl.ImageCompose.Shapes2d_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


Example Patch Shapes2d example

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

Open In Editor

INPUT PORTS


render (Trigger)

<p>Trigger op</p>

Blending

Blend Mode index (Number:

<i>integer</i>

)

Alpha Mask index (Number:

<i>integer</i>

)

Amount (Number)

<p>Amount of belnding</p>

Shape index (Number:

<i>integer</i>

)

Mirror X (Number:

<i>boolean</i>

)

<p>mirror the x axis</p>

Mirror Y (Number:

<i>boolean</i>

)

<p>mirror the y axis</p>

Offset X (Number)

<p>Offset x axis</p>

Offset Y (Number)

<p>Offset y axis</p>

fillShape (Number:

<i>boolean</i>

)

<p>Disable to only draw shape outline</p>

Line thickness (Number)

<p>Line thickness when fillshape is disabled</p>

Invert color (Number:

<i>boolean</i>

)

<p>Invert color to background</p>

width (Number)

<p>width of shape</p>

height (Number)

<p>height of shape</p>

Rotate (Number)

<p>rotate the shape</p>

r (Number)

<p>red amount</p>

g (Number)

<p>green amount</p>

b (Number)

<p>blue amount</p>

a (Number)

<p>alpha amount</p>

OUTPUT PORTS


trigger (Trigger)

<p>next trigger</p>


Patches using Shapes2d_v2

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarcables - 2019-08-20 17:21
cloned op from Ops.Gl.TextureEffects.Shapes2duser avatarpandur - 2022-04-20 11:40
Ops.User.pandur.Shapes2D renamed to Ops.Dev.Shapes2DV2user avatarpandur - 2022-04-20 11:40
Ops.Dev.Shapes2DV2 renamed to Ops.Gl.TextureEffects.Shapes2D_v2user avatarpandur - 2022-05-09 12:46
Ops.Gl.TextureEffects.Shapes2D_v2 renamed to Ops.Gl.TextureEffects.Shapes2d_v2user avatarpandur - 2022-05-09 12:48
renameOps.Gl.TextureEffects.Shapes2d_v2 renamed to Ops.Gl.ImageCompose.Shapes2d_v2user avatarstephan - 2023-12-06 10:51