return to table of content

WebGL visual programming editor cables.gl is now open source

Zetaphor
9 replies
5d21h

Cables is an incredibly powerful tool with a fairly low learning curve. I couldn't have done what I did with my personal website[1] (sorry, mobile optimized!) if I was working with WebGL directly, especially not in the 3 days it took me to build and deploy with no prior experience.

If you're a interested in experimenting with creative stuff without the traditionally high barrier of entry, I highly recommend cables and the Decode.gl tutorial series[2].

Cables is an exceptionally versatile and user-friendly tool, especially for those new to creative coding. It allowed me to create my personal website[1] (sorry doesn't work on mobile) in just three days, despite having no prior experience. Achieving the same results using WebGL directly would have been significantly more challenging and time-consuming.

For anyone interested in exploring creative digital projects without facing the typically steep learning curve, I strongly suggest giving Cables a try.

Additionally, the Decode.gl[2] tutorial series is extremely high quality

[1] https://zetaphor.com [2] https://decode.gl/

parasti
6 replies
5d10h

Your comment says the same thing twice, just rephrased. Did ChatGPT write this?

Zetaphor
2 replies
5d5h

My original comment was a bit rambly and so I had an LLM rephrase it. However I was editing on mobile so I had limited visibility due to the text input sharing space with my keyboard, so I clearly missed this duplicate paragraph. What I'd give for an edit button :P

epiccoleman
1 replies
4d22h

Not to tell you what to do, but ... please don't do that. Your original comment was better. The rephrased one is both longer and suffers from the same soullessness that pervades all GPT output.

Your original writing was fine! You're fine!

Zetaphor
0 replies
3d23h

Neither of those is my original comment :P

They were two different versions of the rephrase, I just failed to remove one because I am useless when doing any text editing on mobile

darrenf
1 replies
5d9h

Not quite the same thing!

my personal website[1] (sorry, mobile optimized!)

my personal website[1] (sorry doesn't work on mobile)
parasti
0 replies
5d8h

Fair point

simlevesque
0 replies
5d1h

I honestly hoped people wouldn't be that lazy here. Oh well.

simlevesque
0 replies
5d1h

https://decode.gl/

The home page uses 18% of my beefy cpu.

CyberDildonics
0 replies
5d4h

This seems like it repeats itself with different words and it also seems to say the same thing twice phrased differently.

xmddmx
4 replies
6d

Is this essentially Quartz Composer, but in the browser? https://en.wikipedia.org/wiki/Quartz_Composer

I was always amazed at how sophisticated QC was, and also saddened when it was abandoned by Apple...

pandur
2 replies
5d23h

yes why did visual programming never fully took off, its somehow like vr ;)

it is like QC or touchdesigner, but you can distribute your projects on your own, without cables itself. basically like you can distribute a game you made with unity.

pjmlp
0 replies
5d11h

Most designers on the game industry, sound composition, or electronics would be to differ, but maybe only having three industries that embraced visual programming is too niche. :)

CyberDildonics
0 replies
5d4h

Not everything can be made into a one way graph with limited data types. Node graphs work in specific domains because they only have a few data types and don't need to worry much about side effects, ordering, branching, state and IO.

On top of that you also need a good GUI which itself is rare. Houdini has a great interface that is well designed. Touch designer is much more wonky, loose and awkward.

brcmthrowaway
0 replies
6d

Or TouchDesigner?

effekt
3 replies
5d22h

I'm so happy every time I see the demoscene on HN's front page. Hi pandur!

pandur
2 replies
5d22h

Hello ;)

pixelpoet
1 replies
5d20h

Holon and MFX rocks!!! Big up the demoscene massiv, see you at next Revision

pandur
0 replies
5d11h

wow <3

orbifold
2 replies
5d23h

This reminded me of another project: https://nodes.io. Apparently it was inspired by cables.gl

pandur
0 replies
5d23h

and cables.gl was inspired by tooll.io and vvvv

agys
0 replies
5d9h

nodes.io is developed by the London based studio https://variable.io. It’s a tool they use internally for their client projects.

ilaila
2 replies
5d22h

What‘s the license?

steam0r
0 replies
5d20h

we went for MIT, as it seemed to be the most simple choice. so have at it...

ohmahjong
0 replies
5d21h

MIT

NathanFlurry
2 replies
5d23h

GitHub: https://github.com/cables-gl/cables

Really cool project, love to see things that touch web tech, VPLs, and creative programming. Could not find repo from the website on mobile, would love to see it in the footer or in the CTA.

brcmthrowaway
0 replies
5d21h

Web tech is horrible, but creative programming is great.

romipan
1 replies
5d22h

What about Web GPU, does cables support that?

pandur
0 replies
5d22h

We are working on it! That will hopefully be available by the end of this year

rendaw
1 replies
5d13h

This looks really cool, but I came away with some questions.

- How does this differ from say blender's geometry/shader nodes? Aside from operating environment.

- How much of webgl does this encompass? Do you control the full render graph? Or is it just one pass, or what?

I've been interested in learning modern graphics programming, but playing around with low level gl/vk code seemed like it'd be too slow to figure out the high level concepts. I was hoping I'd find a visual editor somewhere.

MrLeap
0 replies
5d11h

Operating environment and deployability are practical differences.

Blender can be used to create assets consumed by cables.

mhuffman
1 replies
5d6h

Just a heads up, this site (cables.gl) can reliably crash my browser (Firefox 128.0.3 - Linux) completely so that my only options are to quit the browser or restart it.

Zetaphor
0 replies
5d5h

That's really unusual. I'm also using Firefox on Linux with Wayland on NVIDIA and I've never had an issue. Try checking your system logs and see what went wrong. Maybe an extension is causing problems?

throwaway290
0 replies
5d22h

Breaks Safari on mobile as soon as the top video loads. At least the back button works but scrolling or any other gesture doesn't...

stuaxo
0 replies
5d18h

Great stuff, lovely this is open now.

pahn
0 replies
5d21h

Cables is absolutely fantastic. I used it personally for an art project, as well as was involved with a commerical AR experience which used cables to run elaborate, fully interactive 3d scenes in a normal browser, on mobile. As with other node based languages (e.g. vvvv, max/msp), you edit your code while it's running, so you directly see what you're doing without constantly switching interfaces. And in the end it generates a js file you can just embed in an iframe. Honestly, no idea why this is not more widely used, huge fan!

kats
0 replies
5d17h

Wow this looks really nice. Great work and thanks.

j_maffe
0 replies
5d19h

Nice to have an open-source alternative to TouchDesigner! Hope the transition to Cables isn't too hard.

bovermyer
0 replies
5d6h

So... would this let me build GLSL shaders visually, rather than by code trial and error?