Closed xpenatan closed 3 months ago
This is an attempt to improve GL calls by converting Java buffers to Javascript buffers.
It tries to cache the javascript buffer and not copy it every frame.
To test it you can open these tests.
https://xpenatan.github.io/ApollonianGasket/teavm-b9/ https://xpenatan.github.io/ApollonianGasket/teavm-1.0.1/ https://xpenatan.github.io/ApollonianGasket/teavm-snapshot/
They share the same random seed so refreshing will open the same generated picture.
This is an attempt to improve GL calls by converting Java buffers to Javascript buffers.
It tries to cache the javascript buffer and not copy it every frame.
To test it you can open these tests.
https://xpenatan.github.io/ApollonianGasket/teavm-b9/ https://xpenatan.github.io/ApollonianGasket/teavm-1.0.1/ https://xpenatan.github.io/ApollonianGasket/teavm-snapshot/
They share the same random seed so refreshing will open the same generated picture.