Shapes2d_v2 Op

Shapes2d

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


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)

Trigger op

Blending

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

Amount of belnding

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

mirror the x axis

Mirror Y (Number:boolean )

mirror the y axis

Offset X (Number)

Offset x axis

Offset Y (Number)

Offset y axis

fillShape (Number:boolean )

Disable to only draw shape outline

Line thickness (Number)

Line thickness when fillshape is disabled

Invert color (Number:boolean )

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

OUTPUT PORTS


trigger (Trigger)

next trigger


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