membrane

zimablue 2023-10-06T15:25:49.892789Z

did you push your mouse-move change anywhere?

phronmophobic 2023-10-06T17:47:32.977159Z

Yes, they're on github and released under 0.14.1-beta

zimablue 2023-10-06T17:53:16.596139Z

nice, I just pulled latest

zimablue 2023-10-06T17:54:27.528659Z

I am still manually patching the webgl code so that things which can only work in the browser don't run in global scope and explode, that allows me to run some tests which produce components in nodejs, everything but webgl/run works

zimablue 2023-10-06T17:54:41.274319Z

oh I have to comment a top-level-thing in membrane.audio too

phronmophobic 2023-10-06T17:57:34.685249Z

which things in the webgl run in the global scope?

phronmophobic 2023-10-06T17:58:01.958699Z

I thought all of the state was closed over, but it's been a while since I've looked at it.

phronmophobic 2023-10-06T17:58:34.329599Z

If you're interested in submitting a pull request, I can take a look and try to upstream changes that make sense.

zimablue 2023-10-06T17:58:39.631049Z

the redraw definition calls .-devicePixelRatio and load-font is called in global-scope

phronmophobic 2023-10-06T17:58:45.536609Z

or simplify the code further so you don't have to patch.

zimablue 2023-10-06T17:58:47.783659Z

those are the things I've added a little conditional to

zimablue 2023-10-06T17:59:34.048709Z

if noone else cares don't worry about it, I don't mind the little patch, maybe it's bad style on my side but I like the convenience in an electron cljs app of "everything runs unless it really touches some nonavailable io"

phronmophobic 2023-10-06T17:59:46.447289Z

oh, you mean calls that run on unconditionally when loaded?

zimablue 2023-10-06T17:59:55.372449Z

yeah

phronmophobic 2023-10-06T18:00:41.870039Z

yea, I think it's bad style on membrane's end to run functions with side effect on load.

phronmophobic 2023-10-06T18:01:06.465349Z

it's probably not that hard to fix on membrane's end.

zimablue 2023-10-06T18:01:28.914339Z

not a priority for me I just say what I'm up to as I imagine you're curious how ppl use/hack membrane

👍 1
phronmophobic 2023-10-06T18:02:22.462579Z

I do appreciate that!