Live data from Hacker News

Hylogen: Haskell EDSL for live-coding fragment shaders

github.com

1–10 of 11 posts

Re: Hylogen: Haskell EDSL for live-coding fragment shaders

#3
Very cool. I mainly use Extempore [1] for livecoding visual and audio, but this would be a great complement to Tidal [2], a Haskell-based livecoding system for audio.

I wonder how difficult it would be to marry the two, instead of separate windows with web sockets, so you could inline Tidal code as you build your shader in the same editor? Sort of what Shadertone [3] does by combining the Clojure-based audio generating Overtone, with a Shadertoy GLSL interface. The graphics are right behind the text in the editor window.

I would suggest Euterpea [4], the Haskell-based music coding environment, but it is not as suited to livecoding as Tidal is. Nonetheless, a great Haskell environment. Great work!

[1] http://extempore.moso.com.au/

[2] http://tidalcycles.org/

[3] https://github.com/overtone/shadertone

[4] http://www.euterpea.com/

Re: Hylogen: Haskell EDSL for live-coding fragment shaders

#5
post #3

Very cool. I mainly use Extempore [1] for livecoding visual and audio, but this would be a great complement to Tidal [2], a Haskell-based livecoding system for audio. I wonder how difficult it would be to marry the two, instead of separate windows with web sockets, so you could inline Tidal code as you build your shader in the same editor? Sort of what Shadertone [3] does by combining the Clojure-based audio generati…

yoo author here! I haven't played with Tidal, though I have done livecoding audio with Vivid[1], a Haskell-to-supercollider DSL.

Never heard of shadertone; thanks for the link! Always cool to see another point in the livecode space.

You could definitely do livecoding of visuals and audio in the same haskell file! One interesting idea is to define a light higher level DSL/collection of functions that would allow one to actually program both simultaneously, as in write a line of code that affected both audio and visuals.

[1] https://hackage.haskell.org/package/vivid

Re: Hylogen: Haskell EDSL for live-coding fragment shaders

#7
post #5
post #3

Very cool. I mainly use Extempore [1] for livecoding visual and audio, but this would be a great complement to Tidal [2], a Haskell-based livecoding system for audio. I wonder how difficult it would be to marry the two, instead of separate windows with web sockets, so you could inline Tidal code as you build your shader in the same editor? Sort of what Shadertone [3] does by combining the Clojure-based audio generati…

yoo author here! I haven't played with Tidal, though I have done livecoding audio with Vivid[1], a Haskell-to-supercollider DSL. Never heard of shadertone; thanks for the link! Always cool to see another point in the livecode space. You could definitely do livecoding of visuals and audio in the same haskell file! One interesting idea is to define a light higher level DSL/collection of functions that would allow one t…

Tidal user here. Would love to see these working together!

Edit: if you didn't yet, join livecode.slack.com!

Re: Hylogen: Haskell EDSL for live-coding fragment shaders

#8
post #5
post #3

Very cool. I mainly use Extempore [1] for livecoding visual and audio, but this would be a great complement to Tidal [2], a Haskell-based livecoding system for audio. I wonder how difficult it would be to marry the two, instead of separate windows with web sockets, so you could inline Tidal code as you build your shader in the same editor? Sort of what Shadertone [3] does by combining the Clojure-based audio generati…

yoo author here! I haven't played with Tidal, though I have done livecoding audio with Vivid[1], a Haskell-to-supercollider DSL. Never heard of shadertone; thanks for the link! Always cool to see another point in the livecode space. You could definitely do livecoding of visuals and audio in the same haskell file! One interesting idea is to define a light higher level DSL/collection of functions that would allow one t…

I am just installing Hylogen to try it out.

Yeah, it would be great if you somehow mixed Tidal with Hylogen. I am going to play around with this on the weekend.

Thanks for the link to Vivid too!

Re: Hylogen: Haskell EDSL for live-coding fragment shaders

#9
post #6

Here's a short demo reel with audio-reactive shaders made with Hylogen: https://hylogen.com/ (works with Chrome, Firefox, Safari) (includes a GPU Game of Life implementation!)

Using Chrome, I could only see two examples, but they were cool. Thanks!
Post reply on HN