This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-23
Channels
- # ai (1)
- # beginners (84)
- # boot (111)
- # cider (2)
- # cljsrn (9)
- # clojure (245)
- # clojure-italy (2)
- # clojure-mke (1)
- # clojure-russia (6)
- # clojure-spec (92)
- # clojure-uk (32)
- # clojurescript (55)
- # core-async (1)
- # cursive (8)
- # datomic (19)
- # events (1)
- # hoplon (379)
- # lambdaisland (4)
- # lein-figwheel (8)
- # off-topic (115)
- # om (18)
- # om-next (5)
- # onyx (25)
- # re-frame (8)
- # reagent (5)
- # ring-swagger (1)
- # rum (19)
- # schema (3)
- # untangled (24)
oh, hi! i haven't been on here in a while and just saw this discussion 🙂 i have a bit of experience in glsl, originally for live art projects and the last many years for 2d image processing in webgl. it's really not too tough to play around with in that context. it's on my to-do list to port my react.js components for hotswapping shaders to Om.Next so hopefully will get to that early next year
here's the javascript version if you want to take a look: https://github.com/Sophia-Gold/WebGL-Convolution-Shaders
currently the easiest way to import glsl is as string literals (requires es6). you can see all the ones i use in that demo in this file: https://github.com/Sophia-Gold/WebGL-Convolution-Shaders/blob/master/convolution.glsl.js
But also i think w/ regl.party and watching for a new spec you can hotswap shaders pretty well it seems like
The basic example will immediately make sense if u check it out! On phone so hard to link haha 😅
it's quite a higher level of abstraction i think. webgl is based on opengles, not the desktop version. so 3d stuff like that is quite a lot of work
oh i guess they're just importing models in some? and have fairly complex shaders going on?
Its equivalent to the gles api but in object form rather than stateful list of procedural function calls
well, it's not that tough to sync event loops and such. more what's difficult is just drawing anything in 3d of significant complexity
nah, i actually wasn't doing much live performance. but really into max/msp and generative art so nothing was rendered ahead of time
yeah i remember them having a clojure object and being like, "clojure...lol what's that?"
Mostly the gfx ive done is c/cpp and recently doing a bunch of js / objc / java for work cuz rn
i made it to interactively timewarp videos...this turned out to be the best solution. so it can handle pretty large spritesheets (.5-3mb jpegs usually) at 30fps
i couldn't do infinite scroll or anything, but at least three to a page running at that size
oh i never used scheme for any production code. just prototyping algorithms and playing with interpreters and such
yeah you can do really weird stuff like twisting and repeating things to infinity and all this stuff
i'm exhausted and at least need to finish speccing up this project i've been trying to push a commit on today 😕