beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
CustomOp
Ops.Cables.CustomOp_v2
Namespace: Ops.Cables
code a custom op that will only be available in the current patch

summary (oneliner)

you can use any javascript code here, it will be bound to the
scope of the current op, which is available as op.

have a look at the documentation at:

https://docs.cables.gl/dev_hello_op/dev_hello_op.html
https://cables.gl/docs/5_writing_ops/coding_ops

doc

issues

youtube id

collections

related ops

Inputs

JavaScript (String)

a valid javascript snippet


Library (String)

url to a library (can also be uploaded to cables) - be aware that you are completely on your own here, no support (keep CORS in mind, though)


portsData (String)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
CustomOp - Example:


Credits


Changelog


created op
2021-01-28 - stephan

Ops.User.stephan.CustomOp renamed to Ops.Cables.CustomOp
2021-01-28 - stephan

cloned op from Ops.Cables.CustomOp
2021-08-04 - stephan

Ops.User.stephan.CustomOp_v2 renamed to Ops.Cables.CustomOp_v2
2021-08-04 - stephan

Examples using CustomOp_v2

Public Patches using CustomOp_v2