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

Shapes2d_v2 Op


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

Edit Documentation

Full Name
  • Ops.Gl.ImageCompose.Shapes2d_v2
  • Core Op - Official cables op
AuthorTest Patches


Example Patch Shapes2d example

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

Open In Editor


render (Trigger)

Trigger op


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


trigger (Trigger)

next trigger

Usages of Shapes2d_v2

  • Examples
  • Public
  • My Patches
  • Ops


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