3 ms·
http://github.com/ztellman/penumbra/ http://github.com/ztellman/penumbra/ It's very much a work in progress, but there some interesting stuff in there. Especi
by prospero 17y ago
http://github.com/ztellman/penumbra/ http://github.com/ztellman/penumbra/
It's very much a work in progress, but there some interesting stuff in there. Especially of note is the GPU-driven Mandelbrot viewer (http://github.com/ztellman/penumbra/blob/master/src/example/gpgpu/mandelbrot.clj http://github.com/ztellman/penumbra/blob/master/src/example/...), where the shaders are syntactically and idiomatically indistinguishable from the rest of the code.
Every graphics engine I've seen focuses on performance rather than expressiveness. With current trends in graphics cards, that seems more a matter of custom than necessity. It's an exciting time to be working on this stuff; there's huge swaths of unexplored territory out there.
- jlongster 17y agoVery interesting, thanks. I'll be thinking about this more. I was thinking of building a compiler which compiles sexprs down to something like GLSL or possibly even lower (GPU assembly).